I know what below two function modules do. But there must be weekwise or daywise calendar behind this and defined in SAP.
OR from where these function modules are getting calender data? Where can i see that in sap? Any transaction code?
DATE_GET_WEEK - To get the week number of the passed date
WEEK_GET_FIRST_DAY - To get the first day of the week