Functions and Formulas
Date & Time
Date & Time
addTime
adds or subtracts a duration from a date / time according to the given unit and calendar options
Object addTime(Object t, Object duration, Object unit=nothing, Object hoursperday=nothing, Object holidays=nothing)
Parameters
t : | is the date / time |
duration : | is the duration |
unit : | specifies the unit of the duration, e.g. days |
hoursperday : | is the number of working hours per day |
holidays : | is a collection of inactive weekdays or dates |
days
Returns the days between two dates.
Object days(Collection x, Collection y)
Parameters
x : | Is the first date or time |
y : | Is the second date or time |
hours
Returns the hours between two dates.
Object hours(Collection x, Collection y)
Parameters
x : | Is the first date or time |
y : | Is the second date or time |
minutes
Returns the minutes between two dates.
Object minutes(Collection x, Collection y)
Parameters
x : | Is the first date or time |
y : | Is the second date or time |
now
Returns the current time.
Object now()
seconds
Returns the seconds between two dates.
Object seconds(Collection x, Collection y)
Parameters
x : | Is the first date or time |
y : | Is the second date or time |
Feedback
Did you find what you needed?
If you have any further questions or suggestions to improve this page, please let us know: