in reply to
I suggest you take a look at POSIX::strptime.
it might give you more abilities and a cleaner way to do what you ask.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (284 votes),