Page 1 of 1

Unexpected Date Calculation

Posted: Thu Feb 06, 2025 8:20 am
by Bob
Hello, here is my issue:

string deb1 = @otod(@dateadd(@dateval("01/01/2025"), 1, "b")) returns 7/08/4813

For information:
EViews 13 is configured with the date format as day/month/year.
I am working with daily data from Monday to Friday

Thank you

Re: Unexpected Date Calculation

Posted: Thu Feb 06, 2025 8:40 am
by EViews Gareth
You probably want @datestr not @otod

Re: Unexpected Date Calculation

Posted: Thu Feb 06, 2025 9:14 am
by Bob
Thanks