Time Measure: New "TimeStamp" Option
Posted: September 2nd, 2012, 3:47 pm
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,
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:
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
Code: Select all
[MeasureToday]
Measure=Time
[MeasureYesterday]
Measure=Time
TimeStamp=([MeasureToday:]-86400)
Format=%a, %b %#d %Y - %H:%M:%S
DynamicVariables=1