User Manual

08.13.2024

MANUAL

Formula (Extended): $DATE Function

## Overview Find the date for the specified year, month, and day. ## Syntax ``` $DATE(Year, Month, Day) ``` ## Parameters |Parameter|Type|Required|Description| |:---|:---|:---|:---| |Year|4-digit half-width numerical value|Required|Specify 1900 or higher. An error occurs if the number is less than 1900. An error occurs if the string is not a half-width numerical value. | |Month|Half-width numerical value|Required|If a value other than 1 to 12 is entered, the past or future month is calculated using the input value. An error occurs if the string is not a half-width numerical value. A blank is considered to be 0. | |Day|Half-width numerical value|Required|If a value other than 1 to 31 is entered, the past or future day is calculated using the input value. An error occurs if the string is not a half-width numerical value. A blank is considered to be 0. | ### Items Usable as Parameters |Parameter|Classification|Numerical Value|Date|Description|Check| |:---|:---|:---|:---|:---|:---| |Year|Yes|Yes|No|Yes|No| |Month|Yes|Yes|No|Yes|No| |Day|Yes|Yes|No|Yes|No| ## Return Value Date in yyyy/mm/dd format. ### Return Value Display Content |Target|Display Content of Return Value| |:---|:---| |Classification (including title, status, administrator, person in charge)|Display return value. | |Numerical Value (including workload, progress rate, remaining workload)|Do not display. | |Date (including start and completion)|Display return value. If the editor format is "Date and time (minutes)" or "Date and time (seconds)", 00:00:00 will be automatically completed. | |Description (including content)|Display return value. | |Check (including lock)|Do not display. | ## Usage Example ① Specify parameters by screen item name (display name) ### Formula ![image](https://pleasanter.org/binaries/9cf5b34d6749425ca0eb06cc97a9665d) ### Parameters ![image](https://pleasanter.org/binaries/57a30c8b0a984366871a1dc0f9418a1d) ### Calculation Result Editor format: Year/Month/Date ![image](https://pleasanter.org/binaries/7728554e881242658b0e34777cd40031) Editor format: Date and time (seconds) ![image](https://pleasanter.org/binaries/95ef092fbf114cb1a37ad906f9c715d9) ## Usage Example ② When month is 0 ### Parameters ![image](https://pleasanter.org/binaries/5d37fd7350ee4567b8cc8ef7802f9e5c) ### Calculation Result ![image](https://pleasanter.org/binaries/ad248b2a33514fed95cc4fbbb1b00dba) ## Usage Example ③ When day is a negative value ### Parameters ![image](https://pleasanter.org/binaries/574062e43ddd417e8aac978f6d1580ed) ### Calculation Result ![image](https://pleasanter.org/binaries/d6b0fb4718f54c2ea5a7d3bdd0cf6ed4)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.