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:

Date Time Functions

 


 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software