= 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
= UTC # UTC timezone.
= tzlocal() # Local timezone.
= gettz('/') # Timezone from 'Continent/City_Name' str.
```
```python
= .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 str, according to format.
= D/DT.fromordinal() # D/DTn from days since Christ.
= DT.fromtimestamp(, ) # DTa from seconds since Epoch in tz time.
```
* **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[±]'`, or both separated by `'T'`.**
* **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...**
### Decode
```python
|