CurrentDate (Reserved Word)

image\trumpet2.gif Disclaimer

This reserved word returns a numeric value representing the EasyLanguage date (YYYMMDD format) corresponding to the date and time of your computer.

Examples

CurrentDate returns a value of 991016 on October 16, 1999.

CurrentDate returns a value of 1011220 on December 20, 2001.

Additional Example

To have a trading strategy, analysis technique, or function perform its calculations only before January 31, 2000 (or any other date for that matter), you can write:

If CurrentDate < ELDate(01, 31, 2000) Then Begin
 
{ EasyLanguage instruction(s) }
End
;