Are any other characters in the string or just numbers that indicate the date? If you have a date string and want to create a date that you can format, try the following:
import time
time.strptime (datestring,% d.% m.% Y% H:% M:% S ") # e.g., 03/17/2011 10:05:15
You can also create a UNIX timestamp.
timestamp = int(time.mktime(time.strptime(date,"%d.%m.%Y %H:%M:%S")))
,
- , Mark .