Function CurrentToTimeSlot(Calendar)

CurrentToTimeSlot

The function CurrentToTimeSlot determines the time slot in a calendar that corresponds with the current time.

CurrentToTimeSlot(
     Calendar           ! (input) a calendar
     )

Arguments

Calendar

An identifier of type calendar.

Return Value

The function CurrentToTimeSlot returns the time slot in the calendar that contains the current moment.

Note

There is an option Current_Time_in_LocalDST that specifies whether this function takes into account the effects of daylight savings time.

See also

The functions StringToTimeSlot, MomentToTimeSlot.