pyguymer3.convert_spreadsheet_to_unix

pyguymer3.convert_spreadsheet_to_unix(val, /)[source]

Convert an Excel spreadsheet date to an UNIX timestamp

This function converts an Excel spreadsheet date (which is an integer) to an UNIX timestamp (which is also an integer).

Parameters:

val (int) – the Excel spreadsheet date

Returns:

ans – the UNIX timestamp

Return type:

int

Notes

Copyright 2017 Thomas Guymer [1]

References