= 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.
```
### Timezone
```python
= pytz.timezone('/') # Use 'pytz.utc' for UTC.
= .astimezone() # Converts datetime to passed timezone.
= .replace(tzinfo=) # Changes timezone without conversion.
= .utcoffset() # Returns timezone's current offset from UTC.
= .dst() # Returns daylight saving time offset.
```
### Encode
```python
= D/T/DT.fromisoformat() # From 'YYYY-MM-DD', 'HH:MM:SS.ffffff[+]' or both.
= DT.strptime(, ' | | |