|
|
| P is for Practical | |
| PerlMonks |
Parsing a date time stringby bangor (Monk) |
| on Aug 02, 2014 at 16:27 UTC ( [id://1096020]=perlquestion: print w/replies, xml ) | Need Help?? |
|
bangor has asked for the wisdom of the Perl Monks concerning the following question:
In my script I need to accept date time strings in three formats:
In this example I need to change "1:00" to "01:00" before passing to a DB query. This is how I am doing it: It works, but it feels kludgy - any advice appreciated.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||