Days function
Syntax
Days(dt_val)
Description
Use the Days function to returns the Julian date for the dt_val specified. This function accepts a Date, DateTime, or Time value parameter.
Returns
Returns a Number value equal to the Julian date for dt_val.
Example
To find the number of days between two dates, use the Days function on both dates, and subtract one from the other:
&NUM_DAYS = Abs(Days(HIRE_Date) - Days(RELEASE_Date));