Datum und Zeit

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

Berechnet die Anzahl der Tage zwischen zwei Zeitpunkten.

Object days(Collection x, Collection y)

  • x: Ist der erste Zeitpunkt.
  • y: Ist der zweite Zeitpunkt.

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

Berechnet die Anzahl der Stunden zwischen zwei Zeitpunkten.

Object hours(Collection x, Collection y)

  • x: Ist der erste Zeitpunkt.
  • y: Ist der zweite Zeitpunkt.

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

minutes

Berechnet die Anzahl der Minuten zwischen zwei Zeitpunkten.

Object minutes(Collection x, Collection y)

  • x: Ist der erste Zeitpunkt.
  • y: Ist der zweite Zeitpunkt.

now

Gibt die aktuelle Zeit zurück.

Object now()

seconds

Berechnet die Anzahl der Sekunden zwischen zwei Zeitpunkten.

Object seconds(Collection x, Collection y)

  • x: Ist der erste Zeitpunkt.
  • y: Ist der zweite Zeitpunkt.

Feedback

War dieser Artikel hilfreich?

Falls Sie fragen zu diesem Thema oder Verbesserungsvorschläge haben, lassen Sie es uns bitte wissen:

=