Determining daylight savings changes on BSD

Dan Nelson dnelson at allantgroup.com
Fri Feb 2 20:07:16 UTC 2007


In the last episode (Feb 02), Jerry McAllister said:
> On Fri, Feb 02, 2007 at 01:18:14PM -0600, Dan Nelson wrote:
> > $ TZ=America/New_York ; export TZ
> > $ date -r 1173592860
> > Sun Mar 11 01:01:00 EST 2007
> > $ date -r 1173596460
> > Sun Mar 11 03:01:00 EDT 2007
> > $ date -r 1173679260
> > Mon Mar 12 02:01:00 EDT 2007
> > $ 
> 
> Yes, that is exactly what I get and that seems right to me.
> I was just questioning the one first posted above that was:
>   date -r 1173679260            resulting in:
>   Mon Mar 12 02:01:00 EST 2007
> That would be the EDT figures, except it is labeled EST
> But, if it was really EST (and thus need the zonefile updated)
> I thought it would say:
>   Mon Mar 12 01:01:00 EST 2007

Probably a bad cut'n'paste on my part.  The important part is whether
there's a D in the zone name.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list