Comparing dates?

Jervis Whitley jervisau at gmail.com
Mon Feb 2 15:30:52 EST 2009


> Most
> will have functions like str[pf]time that could be used to similar
> effect.

In mysql this is:
str_to_date( '21/02/2008',  '%d/%m/%Y')

and oracle:
to_date( '21/02/2008',  'dd-mm-yyyy')

Cheers,



More information about the Python-list mailing list