Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from DateTime import DateTime
- dt = DateTime()
- print dt.fCommonZ() <== right time wrong TZ
- print dt.Date() <== correct
- print dt.Time() <== correct
- print dt.timezone() <== wrong
- dt.toZone('Australia/Adelaide')
- #the following return exactly the same as above
- print dt.fCommonZ()
- print dt.Date()
- print dt.Time()
- print dt.timezone()
- return printed
Add Comment
Please, Sign In to add comment