Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import datetime
- t = datetime.time(1, 2, 3)
- print t
- print 'hour :', t.hour
- print 'minute :', t.minute
- print 'second :', t.second
- print 'microsecond:', t.microsecond
- print 'tzinfo :', t.tzinfo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement