|
DateToJulian Function |
Top Previous Next |
|
Returns the number of days since 1900 for a given date. It is useful for calculating the number of days between two dates.
Syntax
value = DateToJulian( expression )
Parameters
Examples
daysBetween = DateToJulian( instrument.tradeExitDate ) - DateToJulian( instrument.date )
|