Posts: 363
Joined: Jun 2004
Reputation:
0
anyone know how to calculate difference between to dates?
like how many years, days, hours,mins,secs ...
date format = may 21 2006
Posts: 363
Joined: Jun 2004
Reputation:
0
that link was neat!
everything was so organized and explained good.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
ot: jmarshall added the unshuffle(). i included the file with another patch. all you have to do is zip the files you changed, then submit a patch. i don't think they want diff files.
Posts: 363
Joined: Jun 2004
Reputation:
0
yepp i read some of your posts.
i'm gonne check out one of your feature adds later
[ 1496246 ] xbmc.getinfolabel(int) & xbmc.getinfoimage(int) to python, thanks to nuka1195.
didn't jm update the last changes to that pach?
do you know if there are any built in conversions on months to numbers
like
jan = 1
if not i have to use a simple array.
Posts: 363
Joined: Jun 2004
Reputation:
0
hope jm updates then.
by the way, i found what i was looking for, thanks to that like you gave me:
time.strptime(now_month,"%b")[1]
returns the number of month given in short