Related questions
Quickly getting to YYYY-mm-dd HH:MM:SS in Perl
When writing Perl scripts I frequently find the need to obtain the current time represented as a string formatted as YYYY-mm-dd HH:MM:SS (say 2009-11-29 14:28:29).
In doing this I find myself taking this quite cumbersome path:
man perlfunc
/…
Convert Between Datetime Formats Using Perl
We're currently using a 3rd party API that provides datetime in the following format:
Sat Mar 06 09:00:00 ICST 2010
Fri Feb 19 19:30:00 JDT 2010
Fri Feb 19 19:30:00 PST 2010
However, we want to store these datetime objects in MySQL in a standard datetime field which requires …