Calendar Functions Plug-in

This Plug-in provides several functions that replicate the out-of-the-box calendar functions, but may be useful in some scenarios due to various timezone or process calendar settings.

  • caladddaysplugin(): This function adds a given number of working days (as designated on the process calendar) to a Datetime value, and returns a Datetime value that falls within the work time defined in the process calendar.
  • caladdhoursplugin(): This function adds a given number of hours to a Datetime plus any non-working hours (as designated on the process calendar) and returns the resulting Datetime.
  • calworkdaysplugin(): This returns the actual number of work days between two Datetimes (both inclusive), according to the calendar defined for the system.
  • calworkhoursplugin(): This returns the actual number of work hours between two given Datetimes (both inclusive), according to the calendar defined for the system.
  • calworkminutesplugin(): This returns the actual number of work minutes between two given Datetimes (both inclusive), according to the calendar defined for the system.
Anonymous