Share via


WorkCalendarDate::calcDefinedSeconds Method

Gets the number of working hours, in seconds, for the calendar date.

Syntax

server public static Seconds calcDefinedSeconds(
    CalendarId _calendar, 
    TransDate _transDate, 
   [Seconds _fromTime, 
    Seconds _toTime, 
    boolean _useEffectivity, 
    boolean _throwIfError])

Run On

Server

Parameters

  • _useEffectivity
    Type: boolean
    A Boolean value that indicates whether to include the efficiency percentage in the calculation; optional.
  • _throwIfError
    Type: boolean
    A Boolean value that indicates whether to throw an error if no calendar entry was found on the date; optional.

Return Value

Type: Seconds Extended Data Type
Gets the number of working hours, in seconds, for the calendar date.

See Also

Reference

WorkCalendarDate Table