Number of DAY from a certain data range  [SOLVED]

Questions about MultiCharts and user contributed studies.
no erocla
Posts: 131
Joined: 31 May 2013
Has thanked: 58 times
Been thanked: 7 times

Number of DAY from a certain data range

Postby no erocla » 20 Jun 2017

Hi guys,

there's any way to retrieve exact number of days between two dates ?

For example:

01/mar - 01/jan
or
1170301 - 1170101

should return 59.

Thank you very much in advance
No Erocla

User avatar
ABC
Posts: 631
Joined: 16 Dec 2006
Has thanked: 119 times
Been thanked: 355 times
Contact:

Re: Number of DAY from a certain data range  [SOLVED]

Postby ABC » 20 Jun 2017

No Erocla,

you could convert the EasyLanguage date into a Julian Date using the DateToJulian reserved word first and then compute the difference.

Regards,

ABC

no erocla
Posts: 131
Joined: 31 May 2013
Has thanked: 58 times
Been thanked: 7 times

Re: Number of DAY from a certain data range

Postby no erocla » 20 Jun 2017

Thank you a lot like always ABC!


Return to “MultiCharts”