cjs
21st October 2003 22:16 UTC
Is there is $getcurrentsystemdate? or need to create a dated dir.
What the boss wants here now is.
A dated directory created everytime this program is run.
Why can't everyone just write in Qbasic. ;)
I need a $date
string, and that string applied to create a dirctorry.
createdirectory $INSTDIR\$date
is this possible.
kichik
21st October 2003 22:22 UTC
You can use nsisdt from the Archive's download page or some System calls (there are some examples for that in the Archive too and some more in the forum).
cjs
21st October 2003 23:11 UTC
Woot! Got it with the NSISdt Plugin.
:)
that was easy as pie.
mmmmmm PiE!
deguix
22nd October 2003 00:57 UTC
But have a strange thing with the NSISDt, much times, he increase or decrease the time by 1 hour. Using it in South Hemisphere is even worse. The better one is from the API "GetLocalTime". Reveals additionally the weekday and the miliseconds of the time called (but i.e. you don't get the Time Zone name, you have to call it using System Plugin). But you have format the result using some codes in the page. Get it in my signature (below):
Joost Verburg
22nd October 2003 11:59 UTC
This problem has been reported before. Does anyone want to check the NSISdt source to fix the problem?