December 6th, 2012, 06:39 AM
Setting the date on Windows
I'm struggling to set the date on Windows. I haven't come across a Perl module that can do it - is there one you know of?
I've been trying to use the date command in Windows. I'm also using the time command to set the time and this works fine.
Here's an example of how it doesn't work;
1. Calling a batch file with a single command in works.
2. Calling perl from the command line with the same line fails.
Y:\SourceCode\Scripts\NTPSync>perl -e "`date 1-1-1999`"
date: invalid date `1-1-1999'
December 8th, 2012, 07:18 PM
What do you really need?
What does it mean "I'm struggling to set the date on Windows"?
December 8th, 2012, 07:54 PM
I guess you don't have a good grasp on the english language.
I've found a workaround, I had to call the command prompt and pass in the parameter like this instead
cmd /c date dd-mm-yyyy
December 18th, 2012, 10:25 PM
cheap wholesale e cigarette
Place the key to your vehicle in the ignition and power on the vehicle. You do not need to start up the ignition, but at least turn the key far enough to start up your radio and power up the windows.
Originally Posted by winblows