By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,526 Members | 1,618 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,526 IT Pros & Developers. It's quick & easy.

change the date string into timestamp

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
praba kar wrote:
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?"
--
Michael Hoffman
Jul 18 '05 #2

P: n/a
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.

"praba kar" <pr*********@yahoo.co.in> ha scritto nel messaggio
news:ma**************************************@pyth on.org...
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

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.