[tz] How to compute the moment of the next DST change

Paul Eggert eggert at cs.ucla.edu
Tue Apr 2 15:59:06 UTC 2013


This shell command should do the trick:

emacs -batch -l cal-dst -eval '(message "%s" (format-time-string "%Y-%m-%d %H:%M:%S %z" (calendar-next-time-zone-transition (current-time))))'

If I run that right now in Los Angeles, I get:

2013-11-03 01:00:00 -0800




More information about the tz mailing list