This can be done by dllcalling function or two from msvcrt.dll. Limitation of that way is that it cannot proceed negative EPOCH times and is limited to maximum year of 2038 (3000). Probably there is some other function inside some other dll since Javascript has this as built-in function and for example VBS can deal with "negative" times. Anyway, this is done without DllCall(). It is completley based on Date.au3 and functions inside it. - Why did I extract this out of Date.au3? Because this way