DAYS (PQL - xl)

This function calculates the number of days between two dates

  • 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

DAYS(end date, start date)

Function Arguments

Name

Description

Type

Optional

end date

Specify the end date argument as a number (as in 37806), a string or reference to cells containing the information

StringOrNumber

start date

Specify the start date argument as a number (as in 37806), a string or reference to cells containing the information

StringOrNumber

Comments

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