-
Notifications
You must be signed in to change notification settings - Fork 26
AddHours
Shaun Lawrence edited this page Aug 13, 2020
·
3 revisions
Returns the supplied date/time with the specified number of hours added.
AddHours(date, numberOfHours)
The date/time that will have the numberOfHours
added.
Type | DateTime |
Required | Yes |
The number of hours to add to the date
.
Type | Double |
Required | Yes |
AddHours(#now#, 2)
Adds 2 hours to the current date/time.
AddHours(#now#, -2)
Subtracts 2 hours from the current date/time.
- AddDays
- AddHours
- AddMilliseconds
- AddMinutes
- AddMonths
- AddSeconds
- AddYears
- DayOf
- HourOf
- MillisecondOf
- MinuteOf
- MonthOf
- SecondOf
- YearOf
- DaysBetween
- HoursBetween
- MillisecondsBetween
- MinutesBetween
- SecondsBetween