Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I second DateTime. However if you are reading date strings from a data file or db and bneed to convert them i have found that DateTime::Format::DateParse works really well for this Do something like:
The module will parse your date string and return a DateTime object (which you can then use the DateTime methods etc to do stuff with the date). You would then use $dt->set_time_zone() to change your time zone. See DateTime::Format::DateParse and DateTime For more information about the modules.
-Pizentios
In reply to Re: bst time?
by Pizentios
|
|