]>
gitweb.pimeys.fr Git - scripts-20-100.git/blob - useless/dateWEI.py
5 wei_date
= "14/09/2012 12:00:00"
6 wei_date
= time
.mktime(time
.strptime(wei_date
,"%d/%m/%Y %H:%M:%S"))
9 #now = time.mktime(time.strptime("14/09/2012 12:00:00","%d/%m/%Y %H:%M:%S"))
11 delta
= wei_date
- now
12 deltad
= int(delta
/86400) + 1
17 print "J+%s"%(abs(deltad
))
19 print "C'EST LE WEI !!"