DatePart (MDX)

Returns a number containing the specified part of a given date.

  • Returned Output: Numeric
  • Library: MDX \ VBA \ Date-Time
  • Version: 2018.00.000
  • Compatibility: Microsoft MDX Engines only


DatePart( <Flag> , <Date> )

Further Help on Syntax and Examples
  • For more details on using the VBA library in MDX please click here.
  • For more details on the syntax of the VBA function please click here