? GetServerTime('ServerName') Function GetServerTime(tcComputer) local lcComputer, loWMIService, loOperatingSystem, loOS, lcDateTime, ltDateTime lcComputer = Iif(Vartype(tcComputer)='C', tcComputer, 'LocalHost') loWMIService = GetObject("winmgmts:\\" + lcComputer + "\root\cimv2") loOperatingSystem = loWMIService.ExecQuery("Select * from win32_OperatingSystem") for each loOS in loOperatingSystem lcDateTime = loOS.LocalDateTime next ltDateTime = Ctot(Transform(lcDateTime, '@R 9999-99-99T99:99:9999')) return ltDateTimeThis assumes that all computers are in the same TimeZone, otherwise you need to analize the last digits of lcDateTime to adjust it.