= datetime(year, month, day, hour=0, minute=0, second=0, ...)
= timedelta(days=0, seconds=0, microseconds=0, milliseconds=0,
minutes=0, hours=0, weeks=0)
```
* **Use `'.weekday()'` to get the day of the week (Mon == 0).**
* **`'fold=1'` means second pass in case of time jumping back for one hour.**
### Now
```python
= D/DT.today() # Current local date or naive datetime.
= DT.utcnow() # Naive datetime from current UTC time.
= DT.now() # Aware datetime from current tz time.
```
### Timezone
```python
= pytz.utc # UTC timezone.
= pytz.timezone('/') # Timezone from 'Continent/City' string.
= .astimezone() # Datetime, converted to passed timezone.
= .replace(tzinfo=) # Unconverted object with new timezone.
```
### Encode
```python
= D/T/DT.fromisoformat('') # Object from ISO string.
= DT.strptime(, '') # Datetime from string according to format.
= D/DT.fromordinal() # Date or datetime from days since Christ.
= D/DT.fromtimestamp() # D/DT from seconds since Epoch in local time.
= DT.utcfromtimestamp( |