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)

  • 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)

  • x: Is the first date or time
  • y: Is the second date or time

earlieststart

Calculates the earliest start date for each task in a collection of related tasks

Collection earlieststart(Collection dependencies, Object start, Collection duration, Collection unit=nothing, Collection hoursperday=nothing, Collection nonworkingdays=nothing)

  • dependencies: is the matrix that defines the task dependencies
  • start: is the initial start date
  • duration: is the vector containing the duration of each task
  • unit: is the unit for the duration (secons, minutes, working hours etc.)
  • hoursperday: is the number of active hours of a day
  • nonworkingdays: contains inaktive week days, e.g. sundays or 25. December

hours

Returns the hours between two dates.

Object hours(Collection x, Collection y)

  • x: Is the first date or time
  • y: Is the second date or time

latestfinish

Calculates the latest finish date for each task in a collection of related tasks

Collection latestfinish(Collection dependencies, Object finish, Collection duration, Collection unit=nothing, Collection hoursperday=nothing, Collection nonworkingdays=nothing, Object earliestfinish=nothing, Object =nothing)

  • dependencies: is the matrix that defines the task dependencies
  • finish: is the initial finish date
  • duration: is the vector containing the duration of each task
  • unit: is the unit for the duration (secons, minutes, working hours etc.)
  • hoursperday: is the number of active hours of a day
  • nonworkingdays: contains inaktive week days, e.g. sundays or 25. December
  • earliestfinish:
  • :

lateststart

Calculates the latest start date for each task in a collection of related tasks

Collection lateststart(Collection dependencies, Object finish, Collection duration, Collection unit=nothing, Collection hoursperday=nothing, Collection nonworkingdays=nothing, Object earliestfinish=nothing, Object =nothing)

  • dependencies: is the matrix that defines the task dependencies
  • finish: is the deadline to meet
  • duration: is the vector containing the duration of each task
  • unit: is the unit for the duration (secons, minutes, working hours etc.)
  • hoursperday: is the number of active hours of a day
  • nonworkingdays: contains inaktive week days, e.g. sundays or 25. December
  • earliestfinish:
  • :

minutes

Returns the minutes between two dates.

Object minutes(Collection x, Collection y)

  • 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)

  • 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:

=