ynotlim
08-27-2010, 08:59 AM
Hi,
I have two strings with dates and want to compare to see if it's older or not.
date1 = "2010-08-08 21:20:47"
date2 = "2010-07-08 21:20:47"
if(date1 > date2):
older = True
How can i check to see if date1 is older than date2?
Thanks!
I have two strings with dates and want to compare to see if it's older or not.
date1 = "2010-08-08 21:20:47"
date2 = "2010-07-08 21:20:47"
if(date1 > date2):
older = True
How can i check to see if date1 is older than date2?
Thanks!