change the date string into timestamp

P

praba kar

Dear All,

In Php strtotime() will change a date
string into timestamp. I want to know which
python function will change a date string
into timestamp.


Date string format is below

Fri, 8 Apr 2005 09:22:14 +0900

regards
Prabahar

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 
M

Michael Hoffman

praba said:
In Php strtotime() will change a date
string into timestamp. I want to know which
python function will change a date string
into timestamp.

What do you mean by "a timestamp?"
 
F

Fabio Pliger

You can use some date/time modules as:
time built in module
datetime
wxDatetime from wx

just take a look in the documentation... they are very simple to use.

F.P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top