Browse Source

Small titles

pull/10/head
Jure Šorn 5 years ago
parent
commit
ad6ed9f618
1 changed files with 3 additions and 3 deletions
  1. 6
      README.md

6
README.md

@ -426,9 +426,9 @@ Datetime
```python
from datetime import datetime, strptime
now = datetime.now()
now.month # 3
now.strftime('%Y%m%d') # '20180315'
now.strftime('%Y%m%d%H%M%S') # '20180315002834'
now.month # 3
now.strftime('%Y%m%d') # '20180315'
now.strftime('%Y%m%d%H%M%S') # '20180315002834'
<datetime> = strptime('2015-05-12 00:39', '%Y-%m-%d %H:%M')
```

Loading…
Cancel
Save