Page 1 of 1

Time Measure: New "TimeStamp" Option

Posted: September 2nd, 2012, 3:47 pm
by Kaelri
In the latest beta, we've added a new option to the Time measure: TimeStamp.

Normally, the Time measure returns the current time and date. If a TimeStamp is provided, the measure returns the date it is given. Time stamps are given in Windows time (which is the number of seconds since January 1st, 1601). For example,

Code: Select all

[MeasureTheBeginningOfTime]
Measure=Time
TimeStamp=0
Format=%a, %b %#d %Y - %H:%M:%S
Screenshot30.png
The TimeStamp option also accepts formulas. For example, you can use this to find yesterday's date, using the new section variables feature to get the number value of the current time:

Code: Select all

[MeasureToday]
Measure=Time

[MeasureYesterday]
Measure=Time
TimeStamp=([MeasureToday:]-86400)
Format=%a, %b %#d %Y - %H:%M:%S
DynamicVariables=1

Re: Time Measure: New "TimeStamp" Option

Posted: September 8th, 2012, 8:29 am
by Akiyamka
I have no idea where this can be used :confused:

Re: Time Measure: New "TimeStamp" Option

Posted: September 8th, 2012, 11:02 am
by MerlinTheRed
Basically it helps you to format a time stamp nicely.

Before, you could only display the current time. Now you can give the measure any time stamp number value (which you might have used for a calculation) and turn it into a nicely formatted string.