Python/Datetime

From Fundamental Ramen
Jump to navigation Jump to search

Parsing

TODO Code
Parse RFC Time
import datetime
datetime.datetime.strptime(s, '%a, %d %b %Y %H:%M:%S GMT')

Formatting

TODO Code
To ISO string
To RFC string

Manipulate