<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Date-Time Functions :: Delta BI Documentation (EN source)</title>
    <link>/developer/reference/fx/pql/common/date-time/index.html</link>
    <description>Date-Time Functions These functions are used to perform calculations on dates and times.&#xA;Family: PQL Library: Common Function List AddDays&#xA;2018.00.000&#xA;AddHours&#xA;2018.00.000&#xA;AddMinutes&#xA;2018.00.000&#xA;AddMonths&#xA;2018.00.000&#xA;AddQuarters&#xA;2018.00.000</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/developer/reference/fx/pql/common/date-time/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AddDays</title>
      <link>/developer/reference/fx/pql/common/date-time/adddays/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/adddays/index.html</guid>
      <description>AddDays (PQL) Returns a date-time value that is the number of days prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddDays( &lt;Date-Time&gt; , &lt;Day Integer&gt; )</description>
    </item>
    <item>
      <title>AddHours</title>
      <link>/developer/reference/fx/pql/common/date-time/addhours/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addhours/index.html</guid>
      <description>AddHours (PQL) Returns a date-time value that is the number of hours prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddHours( &lt;Date-Time&gt; , &lt;Hour Integer&gt; )</description>
    </item>
    <item>
      <title>AddMinutes</title>
      <link>/developer/reference/fx/pql/common/date-time/addminutes/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addminutes/index.html</guid>
      <description>AddMinutes (PQL) Returns a date-time value that is the number of minutes prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddMinutes( &lt;Date-Time&gt; , &lt;Minute Integer&gt; )</description>
    </item>
    <item>
      <title>AddMonths</title>
      <link>/developer/reference/fx/pql/common/date-time/addmonths/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addmonths/index.html</guid>
      <description>AddMonths (PQL) Returns a date-time value that is the number of months prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddMonths( &lt;Date-Time&gt; , &lt;Month Integer&gt; )</description>
    </item>
    <item>
      <title>AddQuarters</title>
      <link>/developer/reference/fx/pql/common/date-time/addquarters/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addquarters/index.html</guid>
      <description>AddQuarters (PQL) Returns a date-time value that is the number of quarters prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddQuarters( &lt;Date-Time&gt; , &lt;Quarter Integer&gt; )</description>
    </item>
    <item>
      <title>AddWeeks</title>
      <link>/developer/reference/fx/pql/common/date-time/addweeks/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addweeks/index.html</guid>
      <description>AddWeeks (PQL) Returns a date-time value that is the number of weeks prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddWeeks( &lt;Date-Time&gt; , &lt;Week Integer&gt; )</description>
    </item>
    <item>
      <title>AddYears</title>
      <link>/developer/reference/fx/pql/common/date-time/addyears/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/addyears/index.html</guid>
      <description>AddYears (PQL) Returns a date-time value that is the number of years prior to or after the specified date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 AddYears( &lt;Date-Time&gt; , &lt;Year Integer&gt; )</description>
    </item>
    <item>
      <title>CreateDate</title>
      <link>/developer/reference/fx/pql/common/date-time/createdate/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/createdate/index.html</guid>
      <description>CreateDate (PQL) Creates a date-time value based on specific date items.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 CreateDate( &lt;Year Integer&gt; , &lt;Month Integer&gt; , &lt;Day Integer&gt; , &lt;Hour Integer&gt; , &lt;Minute Integer&gt; , &lt;Second Integer&gt; )</description>
    </item>
    <item>
      <title>Date</title>
      <link>/developer/reference/fx/pql/common/date-time/date/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/date/index.html</guid>
      <description>Date (PQL) Returns a current date as a value .&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2020.10.000 Compatibility: It can be combined with other PQL functions 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 Date()</description>
    </item>
    <item>
      <title>DateDiff</title>
      <link>/developer/reference/fx/pql/common/date-time/datediff/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/datediff/index.html</guid>
      <description>DateDiff (PQL) Returns the difference between the 2 specified date-time values expressed by the date-part.&#xA;Returned Output: Numeric Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 DateDiff( &lt;Date-Time&gt; , &lt;Date-Time&gt; , &lt;Flag&gt; )</description>
    </item>
    <item>
      <title>DateFormat</title>
      <link>/developer/reference/fx/pql/common/date-time/dateformat/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/dateformat/index.html</guid>
      <description>DateFormat (PQL) Formats date-time values into strings using the chosen format or ‘mask’.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 DateFormat( &lt;Date-Time&gt; , &lt;Mask&gt; )</description>
    </item>
    <item>
      <title>DateTime</title>
      <link>/developer/reference/fx/pql/common/date-time/datetime/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/datetime/index.html</guid>
      <description>DateTime (PQL) Returns a current date-time as a value .&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 DateTime()</description>
    </item>
    <item>
      <title>DateToTimeStamp</title>
      <link>/developer/reference/fx/pql/common/date-time/datetotimestamp/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/datetotimestamp/index.html</guid>
      <description>DateToTimeStamp (PQL) Converts date-time to Epoch time value.&#xA;Returned Output: Epoch Time Library: PQL \ Common \ Date-Time Version: 2020.12.000 Compatibility: It can be combined with other PQL functions 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 DateToTimeStamp( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>DayNumber</title>
      <link>/developer/reference/fx/pql/common/date-time/daynumber/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/daynumber/index.html</guid>
      <description>DayNumber (PQL) Returns a number between 1 and 31, inclusive, representing the day of the month.&#xA;Returned Output: Numeric Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 DayNumber( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>DayOfYear</title>
      <link>/developer/reference/fx/pql/common/date-time/dayofyear/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/dayofyear/index.html</guid>
      <description>DayOfYear (PQL) Returns an integer, in the range 1–366 that represents the day of the year, where 1 is January 1&#xA;Returned Output: Numeric Library: PQL \ Common \ Date-Time Version: 2025.00.000 Compatibility: It can be combined with other PQL functions 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 DayOfYear( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Hour</title>
      <link>/developer/reference/fx/pql/common/date-time/hour/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/hour/index.html</guid>
      <description>Hour (PQL) Returns the hour from a date-time&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Hour( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Minute</title>
      <link>/developer/reference/fx/pql/common/date-time/minute/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/minute/index.html</guid>
      <description>Minute (PQL) Returns the minute from a date-time&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Minute( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Month</title>
      <link>/developer/reference/fx/pql/common/date-time/month/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/month/index.html</guid>
      <description>Month (PQL) Returns the full month (with year) from a date-time&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Month( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>MonthNumber</title>
      <link>/developer/reference/fx/pql/common/date-time/monthnumber/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/monthnumber/index.html</guid>
      <description>MonthNumber (PQL) Returns the month number from a date-time&#xA;Returned Output: Integer Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 MonthNumber( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Quarter</title>
      <link>/developer/reference/fx/pql/common/date-time/quarter/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/quarter/index.html</guid>
      <description>Quarter (PQL) Returns the full quarter (with year) from a date-time&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Quarter( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>QuarterNumber</title>
      <link>/developer/reference/fx/pql/common/date-time/quarternumber/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/quarternumber/index.html</guid>
      <description>QuarterNumber (PQL) Returns the quarter number from a date-time&#xA;Returned Output: Integer Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 QuarterNumber( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Second</title>
      <link>/developer/reference/fx/pql/common/date-time/second/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/second/index.html</guid>
      <description>Second (PQL) Returns a number between 0 and 59, inclusive, representing the second of the minute.&#xA;Returned Output: Numeric Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>StringToDate</title>
      <link>/developer/reference/fx/pql/common/date-time/stringtodate/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/stringtodate/index.html</guid>
      <description>StringToDate (PQL) Converts a string of date into a date value that can be used for subsequent date operations.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 StringToDate( &lt;Text&gt; , OPTIONAL &lt;Mask&gt; )</description>
    </item>
    <item>
      <title>StringtoDateTime</title>
      <link>/developer/reference/fx/pql/common/date-time/stringtodatetime/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/stringtodatetime/index.html</guid>
      <description>StringtoDateTime (PQL) Converts a string of date and time into a date-time value that can be used for subsequent date-time operations.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2018.00.000 Compatibility: It can be combined with other PQL functions 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 StringtoDateTime( &lt;Text&gt; , OPTIONAL &lt;Mask&gt; )</description>
    </item>
    <item>
      <title>TimeStampToDate</title>
      <link>/developer/reference/fx/pql/common/date-time/timestamptodate/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/timestamptodate/index.html</guid>
      <description>TimeStampToDate (PQL) Converts Epoch time to date-time value.&#xA;Returned Output: Date-Time Library: PQL \ Common \ Date-Time Version: 2020.12.000 Compatibility: It can be combined with other PQL functions 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 TimeStampToDate( &lt;Epoch Time&gt; )</description>
    </item>
    <item>
      <title>Week</title>
      <link>/developer/reference/fx/pql/common/date-time/week/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/week/index.html</guid>
      <description>Week (PQL) Returns the full week (with year) from a date-time&#xA;Returned Output: Text Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Week( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>WeekNumber</title>
      <link>/developer/reference/fx/pql/common/date-time/weeknumber/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/weeknumber/index.html</guid>
      <description>WeekNumber (PQL) Returns the week number from a date-time&#xA;Returned Output: Integer Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 WeekNumber( &lt;Date-Time&gt; )</description>
    </item>
    <item>
      <title>Year</title>
      <link>/developer/reference/fx/pql/common/date-time/year/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/developer/reference/fx/pql/common/date-time/year/index.html</guid>
      <description>Year (PQL) Returns the year from a datetime&#xA;Returned Output: Integer Library: PQL \ Common \ Date-Time Version: 2023.10.000 Compatibility: It can be combined with other PQL functions 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 Year( &lt;Date-Time&gt; )</description>
    </item>
  </channel>
</rss>