Datetime
Revision as of 11:51, 5 March 2008 by PeterHarding (talk | contribs) (New page: =Python datetime Module Usage= <pre> from datetime import datetime # ts = datetime.strptime('10:13:15 2006-03-07', '%H:%M:%S %Y-%m-%d') ts = datetime.now().strftime('%Y%m%d%H%M%S'...)
Python datetime Module Usage
from datetime import datetime # ts = datetime.strptime('10:13:15 2006-03-07', '%H:%M:%S %Y-%m-%d') ts = datetime.now().strftime('%Y%m%d%H%M%S')