= datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=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.today() # Current local date.
= DT.today() # Naive datetime from current local time.
= DT.utcnow() # Naive datetime from current UTC time.
= DT.now() # Aware datetime from current time.
```
### Encode
```python
= D/T/DT.fromisoformat() # From 'YYYY-MM-DD', 'HH:MM:SS.ffffff[+]' or both.
= DT.strptime(, '') # Datetime from string according to .
= D/DT.fromordinal() # Date or datetime from days since Christ.
= D/DT.fromtimestamp() # Date or datetime from seconds since Epoch in local time.
= DT.utcfromtimestamp() # Naive datetime from seconds since Epoch in UTC time.
= DT.fromtimestamp(, ) # Aware datetime from seconds since Epoch in time.
```
* **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...**
### Decode
```python
= |