syntax:functions:addhours
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:addhours [2019/12/12 07:47] – dmitry | syntax:functions:addhours [2021/08/30 01:53] (current) – [Arguments] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====AddHours(number_date, number)===== | + | ====== AddHours(date, add_hours) ====== |
+ | Category: | ||
- | Adds hours to the date. Subtracts if the number | + | \\ |
+ | =====Description===== | ||
+ | This function adds // | ||
- | Example: | + | \\ |
- | ^ Expression | + | =====Arguments===== |
- | | addhours(# | + | ^Argument^Type^Description^ |
- | | addhours(# | + | |date|Date or Number (date serial)|A expression representing a date. The date to add hours to.| |
+ | |add_hours |Number |The number of hours to be added to //date//, or subtracted if negative.| | ||
+ | |||
+ | **Return value type:** Number (date serial value). | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | The //date// argument can take any value or expression that evaluates to a date serial value, with or without a time portion. | ||
+ | * A date string: | ||
+ | * A date serial value: 43811 (the date serial for " | ||
+ | * A date value created using any of the Date/Time functions that returns a date serial value. | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | | ||
+ | |||
+ | addhours(43811, | ||
+ | |||
+ | | ||
+ | |||
+ | addhours(43811.5, | ||
+ | |||
+ | addhours( date(" | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
+ | * [[https:// | ||
- | See also: | ||
- | * [[syntax: | ||
- | * [[syntax: |
syntax/functions/addhours.1576154845.txt.gz · Last modified: 2019/12/12 07:47 by dmitry