TimeDiffDays

Double TimeDiffDays(DVar inDate1, DVar inDate2)

Description

Returns the total days difference between the 2 dates entered, where the first date entered is the later date

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inDate1 DVar Date value 
inDate2 DVar Date Value

 

Return Type

Double

Example

In the place where you want to tick the start time you can use the following code:
Vars["Start"]=Now;
This will capture the current time & date within a global variable that I called it 'Start' (Can call it whatever you like).
Then, in the place you want to capture the end time & date, you should use the following code:
Vars["End"]=Now;
*Note: These code lines would be best written within start\end scripts.
TimeDiffDays(Vars["End"],Vars["Start"]);

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.