Python: date, time formatting
Posted
by TarGz
on Stack Overflow
See other posts from Stack Overflow
or by TarGz
Published on 2010-03-21T12:52:18Z
Indexed on
2010/03/21
13:01 UTC
Read the original article
Hit count: 354
I need to generate a local timestamp in a form of YYYYMMDDHHmmSSOHH'mm'. That OHH'mm' is one of +, -, Z and then there are hourhs and minutes followed by '.
Please, how do I get such a timestamp, denoting both local time zone and possible daylight saving?
© Stack Overflow or respective owner