Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
I'm facing a problem with the inyeartodate() function.
I'm trying to calculate the boolean result that inyeartodate() gives, working on two years. This means that I have some data like this:
Load
number,
date(date) as InlineDate
Inline
[number,date
1,01/02/2018
2,01/02/2017
]
;
Using those formulae:
=InYearToDate(InlineDate, now(0), 0) // for the current Year
=InYearToDate(InlineDate, now(0), -1) // for the past Year
Everything works fine.
The problem is that as I try to do the same thing with some database data, the second formula does not work.
The Date Field in the database is imported with the function date(), so it is tagged as date. The difference is that in the inline example the InlineDate is not tagged as ascii and text, and in the database example yes. Is it probably the problem?
Also, it bemuse me the fact that in the second example, the ...0) formula works, but the ...-1) no.
Do you have any idea to solve this?
Thanks in advance.
Try with
Now(1)
Hi Manish,
thanks for your answer. Unluckily it does not work.
Should work. Can you provide sample data or sample app showing it's not working?
We can check and update.