Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Returns number of days from first date to second date.

Syntax

DateDiffDays(from_date, to_date)

Arguments

from_date

MDX expression that returns a date.

to_date

MDX expression that returns a date.

Examples

Following example calculates how many days ago was the invoice created.

DateDiffDays([Invoice].CurrentMember.getProperty('Invoice date'), Now())

See also

  • No labels