pyguymer3.convert_spreadsheet_to_datetime¶
- pyguymer3.convert_spreadsheet_to_datetime(val, /)[source]¶
Convert an Excel spreadsheet date to a timezone-aware
datetimeobjectThis function converts an Excel spreadsheet date (which is an integer) to a timezone-aware
datetimeobject.- Parameters:
val (int) – the Excel spreadsheet date
- Returns:
ans – the timezone-aware
datetimeobject- Return type:
Notes
Copyright 2017 Thomas Guymer [1]
References