zut.time.now_aware

zut.time.now_aware(tz: tzinfo | Literal['local', 'utc'] | str = 'local', *, no_microseconds=False)

Get the current aware datetime in the given timezone.

Parameters:

tz – Use tz=’local’ for the system local timezone or tz=’utc’ for UTC.