DATE (PQL - xl)

This function returns the DateTime object for a particular date, specified by the year, month, and day

  • Library: PQL \ Spreadsheet \ Date & Time
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

DATE(year, month, day)

Function Arguments

Name

Description

Type

Optional

year

Number representing the year, from 1 to 9999, using four digits; if not integer, number is truncated

Number

month

Number representing the month of the year; if not integer, number is truncated

StringOrNumber

day

Number representing the day of the month; if not integer, number is truncated

StringOrNumber

Comments

This function is the same as the Microsoft Excel 'DATE' function - using the same inputs, logic and outputs.