Hello,
I need to create a script using autoit on a windows computer to execute it on a remote linux server using putty (or plink) and this script needs to generate a string corresponding to the actuel date/time in the linux format (equivalent to the linux command : `/bin/date +%s`).
My problem is that it seems to generate it with 1 hour more than it should be..
maybe did i missed something ? here is the code i used :
Any idea of what i coul have missed ?
Nb : actually, it's 2013/02/22 01:20PM in France, and the result string is : 1361539258
thanks
Florent
I need to create a script using autoit on a windows computer to execute it on a remote linux server using putty (or plink) and this script needs to generate a string corresponding to the actuel date/time in the linux format (equivalent to the linux command : `/bin/date +%s`).
My problem is that it seems to generate it with 1 hour more than it should be..
maybe did i missed something ? here is the code i used :
[ autoit ]
Any idea of what i coul have missed ?
Nb : actually, it's 2013/02/22 01:20PM in France, and the result string is : 1361539258
thanks
Florent