pyguymer3.now¶
- pyguymer3.now()[source]¶
Get the current date and time as a timezone-aware
datetimeobject.This function aims to mimic
datetime.datetime.now()but instead it returns a timezone-awaredatetimeobject.- Returns:
ans – the timezone-aware
datetimeobject- Return type:
Notes
Copyright 2017 Thomas Guymer [1]
References