Time to Value Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Date and Time Calculation >

Time to Value Commands

 

Using these Commands, you can convert Date and Time to numbers and

do simple Mathematics with these numbers.

 

 

Using DTV. you can convert a date to the equivalent number of days since January 1601.

Now you can do any sort of math using this number. When you're done, just use VTD. to convert the result back into a valid date! This way calculations with days get very easy.

 

TTV. delivers you the "number of seconds since midnight" for a specified time. It will tell you "How many seconds old your day is. You can also do Mathematics using this number and convert it back.