pyguymer3.getctime¶
- pyguymer3.getctime(fname, /)[source]¶
Get the creation time of a file as a timezone-aware datetime object.
This function aims to mimic
os.path.getctime()but instead of returning a integer or float it returns a timezone-awaredatetimeobject.- Parameters:
fname (str) – the file name
- Returns:
ans – the timezone-aware
datetimeobject- Return type:
Notes
Copyright 2017 Thomas Guymer [1]
References