I was wondering if I can check the timezone with FW?
I am looking for u function that is returning something like GMT +01:00
Thanks,
Marc
function timezone()
Local oReg, ret_val
oReg := TReg32():New(HKEY_LOCAL_MACHINE, "SYSTEM\CurrentControlSet\Control\TimeZoneInformation", .f. )
ret_val := oReg:Get( "Bias", 0 )
oReg:Close()
ret_val := Round( ret_val / 60, 0 ) * -1
Return ret_val
Return to FiveWin for CA-Clipper
Users browsing this forum: No registered users and 2 guests