View Full Version : any suggestions for how to collect current time at runtime?
6lickdrdunDchics
06-19-2003, 12:07 PM
i have been using a variable called %now% that i reinitialize on certain screens and actions, and write to a log file, thereby tracking how long the install is taking for certain parts.
my problem is that i just now realized i'm only capturing the time at which the setup starts, not the current time. any suggestions? here's my current value for the variable:
@%CurrentHour%:%CurrentMinute%:%CurrentSecond%
That is the way that the time variables work. They are set at the beginning of the Setup and are not updated.
I have entered the ability to have real time dynamic values put into the time variables as a feature request for the developers to look into for future versions.
Corey
06-19-2003, 03:15 PM
Doesn't matter if you have absolute or relative time, according to your stated objective both will work just the same in terms of producing relevant info, i.e. how long each install segment spent processing.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
6lickdrdunDchics
06-19-2003, 03:29 PM
thanks for the response. but let me clarify what i want to capture by way of example:
start setup = 06/19/03 @10:34:17
start "after install" actions = 06/19/03 @10:34:47
finished unzip tomcat = 06/19/03 @10:38:17
etc...
i guess i could contrivbe a way to use bat files or use a little java program...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.