Second (PQL)

Returns a number between 0 and 59, inclusive, representing the second of the minute.

  • Returned Output: Numeric
  • Library: PQL \ Common \ Date-Time
  • Version: 2023.02.000
  • Compatibility:
    • Can be combined with and other PQL function throughout the application.
    • It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.

Syntax

Second( <Date-Time> )

* Click on the function's arguments above for more details on the input values.

Comments

Examples

This example returns a column with the second number (0-59) of each date-time item in the Order Date column.

Second( [Data].[OrderDate] )