date.exe can't set date on W32
Brought to you by:
syring
both UTC and string Set version can't set date with error "cannot set date"
C:\Temp\aa\usr\local\wbin>date.exe -u 072609202007
C:\Temp\aa\usr\local\wbin\date.exe: cannot set date
Thu Jul 26 09:20:00 UTC 2007
C:\Temp\aa\usr\local\wbin>date.exe -s "Jul 26 11:20:00 2007"
C:\Temp\aa\usr\local\wbin\date.exe: cannot set date
Thu Jul 26 11:20:00 Central Europe Daylight Time 2007
Tested on WXPSP2 EN and W2K3SP1
BTW: Cygwin date.exe works...