Genpact Cora Knowledge Center

Support

Date and Time Methods

Overview

Perform operations on dates.

Return type value

Date and Time

Example

DateAdd("dd", 1, DateTime.Now)

CalendarDateAdd(rt, wf.CreatedBy.CalendarId, "dd", 10, Now())

Supported method types

  • CalendarDateAdd
  • CalendarDateDiff
  • DateAdd
  • DateDiff
  • IsWorkingDay
  • NextWorkingDay
  • Now
  • ToUserDate
  • UtcNow