in reply to Re: DateTime Daylight savings question
in thread DateTime Daylight savings question
$dt = DateTime->now; # same as ( epoch => time() ) $dt->set_time_zone( 'America/New_York' ); print "\n Now:".$dt->hms; print "\n YMD: ".$dt->ymd; #returns: # Now:17:15:48 # YMD: 2008-09-19
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: DateTime Daylight savings question
by broomduster (Priest) on Sep 19, 2008 at 20:56 UTC | |
by jsilva_im (Novice) on Sep 19, 2008 at 21:14 UTC | |
by broomduster (Priest) on Sep 19, 2008 at 21:27 UTC |