@schlink manually calculate number of seconds from Jan 1 1900 to the start of the Unix epoch. Then use existing unix time functions, adding that offset.