On 2013-03-01 09:42, Morten Engvoldsen wrote: > Hi, > Thanks.. :) > so simply i can use time.strftime("%d%-m-%y %H:%M") , and then i can > compare the date.... > I think you're only interested in the date, not the time of day: time.strftime("%d-%m-%y")