Page History
Page properties | |||||||
---|---|---|---|---|---|---|---|
| Status | ||||||
Tech review |
| ||||||
Style guide |
|
Status | ||
---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
hidden | true |
---|
Adds timeToBeAdded to t and returns a
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
size | medium |
---|---|
type | info |
This function adds timeToBeAdded to t and returns a
Status | ||||
---|---|---|---|---|
|
type | tip |
---|
or subtracts time to or from any given date.
Weekends will not be counted as working daysUse negative values at timeToBeAdded for subtracting time from t.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
addTimeSkippingWeekends(number ttimestamp, number timeToBeAdded, timeZone time_zone) #Output: Number |
UI Expand | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
timeToBeAdded = 2 * {HOUR} The function will return a date-time for next Monday at 02:00
|
UI Expand | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The This function returns a
| ||||||||
size | medium
| info
|
UI Text Box | ||||||
---|---|---|---|---|---|---|
| ||||||
Variant of the function where you can additionally define the start and the end of the weekend. This function is useful when the non-working days differ from the standard (Saturday/Sunday). function returns a
beginning_of_weekend and end_of_weekend take the following values : {MONDAY} , {TUESDAY} ... {SUNDAY}. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
addTimeSkippingWeekends(number ttimestamp, number timeToBeAdded, timeZone time_zone, number beginning_of_weekendstartOfWeekend, number end_of_weekendendOfWeekend) #Output: Number |
UI Expand | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
UI Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
The This function returns a
|
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
|