_days_between

Hi!

Iā€™m trying to find the number of days between two dates.

Here itā€™s what Iā€™ve been trying:

_days_between([Plan].[i_Atributos_Resumen_Proyectos].[FechaPOS],[Plan].[i_Atributos_Resumen_Proyectos].[FechaPRE])

The error that reports me is: Parsing error before or near position 65.

Iā€™ve tried everything but canā€™t solve itā€¦ Any idea?

Oh! Also tried casting both dates to numbers and substracting and nothing works :(:(:frowning:

Thankssssssssss

Hi!!!

If this helps anyoneā€¦

My Cognos version is 8.3

And the answer to my question is as simple as using a ā€œ;ā€ instead of a ā€œ,ā€ inside the function: _days_between([Plan].[i_Atributos_Resumen_Proyectos].[FechaPOS][size=15pt];[/size][Plan].[i_Atributos_Resumen_Proyectos].[FechaPRE])

Thanks anywayyyyyy