Calendar Functions

Use

All the function modules are in the function group SCAL.

  • DATE_COMPUTE_DAY

    This function module gets the day of the week for a date.

  • DATE_GET_WEEK

    This function module gets the week for a date.

  • WEEK_GET_FIRST_DAY

    This function module gets the first day of a week.

  • EASTER_GET_DATE

    This function module gets the date of Easter Sunday for a year.

  • FACTORYDATE_CONVERT_TO_DATE

    This function module gets the calendar date for the factory date and calendar.

  • DATE_CONVERT_TO_FACTORYDATE

    This function module gets the factory date for the date and factory calendar. A parameter specifies whether the previous or next working day is to be returned, if the day determined is not a working day.

  • HOLIDAY_CHECK_AND_GET_INFO

    This function module checks whether a date is a holiday in a holiday calendar. If so, you get the holiday definition.