View Full Version : Created Date
slimboywynn
07-14-2005, 04:12 PM
Is there a compiler variable that stores the date the script was compiled which can then be embeded into the executable for checking against? I want to expire my update.exe's but I dont want to keep having to fuss around and change the compiler variable everytime :confused:
linder
07-15-2005, 07:20 AM
What you can do is to use the #run compiler directive and call your own application or batch file that writes the actual date into an INI file. Then create a constant using #const and read the value from the INI file (Get value from INI file option). You can use this constant to set your variable.
That's it ;)
Does this help?
slimboywynn
07-15-2005, 09:46 AM
Thanks Friedrich, I think we'll manually enter the date and set a 3 month expiration instead, sounds like too much hard work if you ask me ;) lol
linder
07-15-2005, 09:58 AM
Okay :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.