In VBA, How to convert a UTC UNIX timestamp to Local timezone Date in a simple way?
问题 As I know, we can use below to roughly convert a UNIX timestamp to a VB Date CDate([UNIX timestamp]/ 60 / 60 / 24) + "1/1/1970" However, the time zone and daylight information are not considered. Time zone is not a big deal. But I cannot get the daylight bias information for a specific UNIX timestamp. Though, daylight bias of Date 1/1 is obviously different from Date 6/1, however, for Date 3/12 or Date 11/5, the daylight bias calculation is very complex. I tried several APIs, like