On Sep 19, 7:22 pm, Schif Schaf <[email protected]> wrote: > The other day I needed to convert a date like "August 2009" into a > "seconds-since-epoch" value (this would be for the first day of that > month, at the first second of that day).
You could use Time::Piece:
[ss...@localhost ~]$ perl -lMTime::Piece -e'$t=Time::Piece->strptime
("August 2009","%b %Y"); print $t->epoch'
1249084800
--
http://mail.python.org/mailman/listinfo/python-list
