-
Notifications
You must be signed in to change notification settings - Fork 26
Date
Shaun Lawrence edited this page Aug 11, 2020
·
3 revisions
Converts and returns the parameter as a DateTime
.
Date(convertToDate)
or
Date(convertToDate, format)
The object to convert to a DateTime
.
Type |
object (basically anything that can be converted to a DateTime . |
Required | Yes |
The format to use when converting the first parameter (expecting a string
) to a DateTime
.
Type | string |
Required | No |
AddDays(#today#, 2)
Adds 2 days to the current date.
AddDays(#today#, -2)
Subtracts 2 days from the current date.
- AddDays
- AddHours
- AddMilliseconds
- AddMinutes
- AddMonths
- AddSeconds
- AddYears
- DayOf
- HourOf
- MillisecondOf
- MinuteOf
- MonthOf
- SecondOf
- YearOf
- DaysBetween
- HoursBetween
- MillisecondsBetween
- MinutesBetween
- SecondsBetween