Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties



Status
Tech review

Status
titletodo

Style guide

Status
titletodo



Status
titletodo

Status
colourYellow
titleReady for review

Status
colourGreen
titledone

Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionTimestamp equivalent of any given day plus an offset of n days where weekends don't count.
Output

Status
subtletrue
titlenumber



UI Text Box
sizemedium
typeinfo

Status
subtletrue
titleTimestamp
equivalent of any given day plus an offset of n days where weekends don't count.


UI Expand
expandedtrue
titleFunction details


Code Block
linenumberstrue
addDaysSkippingWeekends(timestamp, days, time_zone)


Example

ExpressionDescription


Code Block
timeInStatus("Open", "my_schedule", LOCAL)


wqudhuqwhhhiugwqiduhdqwiuhdwquihwqdiuhuidwqh




UI Expand
titleAdditional information

Parameter explanation....


Output

asdsadasdas


Info

If represents a timestamp which coincides with a Friday, adding n = 1 will return a date-time for the following Monday.

Negative values for are used in order to subtract days to t.

(warning) Noten cannot be higher than 50000.

Example

ExpressionDescription
Code Block
timeInStatus("Open", "my_schedule", LOCAL)
wqudhuqwhhhiugwqiduhdqwiuhdwquihwqdiuhuidwqh UI Expand
titleAdditional information
Parameter explanation..

.

.

Output

asdsadasdas



UI Expand
titleExamples



Syntax


Code Block
linenumberstrue
addDaysSkippingWeekends(timestamp, days, time_zone)


Info

If represents a timestamp which coincides with a Friday, adding n = 1 will return a date-time for the following Monday.

Negative values for are used in order to subtract days to t.

(warning) Noten cannot be higher than 50000.


Example

Code Block
timeInStatus("Open", "my_schedule", LOCAL)


Input data type(s)



s

ddd
timestamp
Status
subtletrue
titlenumber
epresenting a timestamp
days
Status
subtletrue
titlenumber
epresenting a timestamp
time_zone
Status
subtletrue
titlenumber
epresenting a timestamp

s

Output

Status
subtletrue
titlenumber


Examples

Parser expressionDescription


Code Block
timeInStatus("Open", "my_schedule", LOCAL)


Number of milliseconds the current issue has stayed in status "Open" within the schedule called "my_schedule" matching the server's default timeZone.


s

s