The retrieves the current time from a windows server.
Parameters
- cServer
The DNS or NetBIOS name of the remote server from which to retrieve the time.
Note
Windows NT: This string must begin with \\.
- nTimeZone (optional)
default = 1
The timezone into which the returned time should be converted.
One of the following values:Timezone Meaning 1 UTC 2 The timezone of the local computer. 3 The timezone of the server.
Return Value
A datetime value.
See Also
Reference
AbortUrlDownloadToFileEx
AIpAddresses
ANetFiles
ANetServers
IcmpPing
Ip2MacAddress
ResolveHostToIp
SyncToSNTPServer
UrlDownloadToFileEx