I\'m having trouble generating a timestamp in a Windows batch file, because I get diferent date formats on different Windows versions.
My machine:
&g
Use VBScript if you want to get independent date time settings:
thedate = Now yr = Year(thedate) mth = Month(thedate) dy = Day(thedate) hr = Hour(thedate) min = Minute(thedate) sec = Second(thedate) WScript.Echo yr&mth&dy&hr&min&sec