Re: date to digit

2005-04-30 Thread Fabio Pliger
"Sara Khalatbari" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Is there a program in python that inputs a date & a > time, for example: "2005-04-17 04:20+". And > returns a digit, for example: "3501" instead? > > and if there is such program or built-in function, how

Re: date to digit

2005-04-30 Thread [EMAIL PROTECTED]
try time.strptime() , and then time.time() - see documentation (http://docs.python.org/lib/module-time.html) -- http://mail.python.org/mailman/listinfo/python-list