Date Minus
Is a keyword used to subtract the value of parameters with data types of Date, DateTime
Platform
Web, iOS, Android, Windows, JavaSwing
Attributes
| Attributes | Data Source | Recommended |
|---|---|---|
| Value: is the value of the parameter with the format Date/ Date Time | Variable | The default system is the data type of the selected parameter Date/DateTime |
| amount: is the value to be subtracted from the parameter | Value | Long |
| Unit: is the unit of measurement of the value to be subtracted - SECONDS: seconds - MUNITES: minutes - HOURS: hours - DAYS: days - MONTHS: months - YEARS: years | - | - |
| Output: is the return value of the keyword | newVariable | The system recommends choosing the same data type as the parameter selected at Value as Date/DateTime |
Use cases
Use when you need to subtract time, only for parameters with the Date/DateTime data type
Example
When you need to calculate days from the date using Date