Retrieving date and time information in a Windows NT 4.0 environment is more difficult than in a Windows Server 2003, Windows XP, or Windows 2000 environment because NT doesn't include a built-in environment variable to maintain date or time...
Retrieve date and time information