DateTime

164

how to set datetime format in python -

import datetime

x = datetime.datetime(2018, 9, 15)

print(x.strftime("%b %d %Y %H:%M:%S"))

php RFC3339 -

\DateTimeInterface::RFC3339

Comments

Submit
0 Comments