parse dates

brechmos brechmos at gmail.com
Sat May 31 15:12:47 EDT 2008


Hi,

I have been using PHP the last while and in particular strtotime.
What I want to replicate is finding the second or fourth Monday of the
next month.  In PHP with strtotime it is easy (strtotime("second
Monday", strtotime("next month"), but I can't find an easy way to do
it in Python.  I have seen DateUtil, but it seems to be able to do
only the simpler parsing (could be wrong).

Any other ideas?



More information about the Python-list mailing list