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 ) |
Parameter: |
Description: |
---|---|
expression |
Any expression that resolves to a date in the format YYYYMMDD |
Returns: |
---|
Number of days since 1900 for the given date |
Example: |
---|
daysBetween = DateToJulian( instrument.tradeExitDate ) _ - DateToJulian( instrument.date ) |
Links: |
---|
|
See Also: |
Edit Time: 9/18/2020 11:58:54 AM |
Topic ID#: 257 |