2008 Apr 16 8:32 AM
Hi ,
Could you please provide me with a function module which determines whether a given date is a saturday or a sunday.
The user input would be the date.
Points will be rewarded.
Thanks and regards,
Frank
2008 Apr 16 8:36 AM
FM: DAY_IN_WEEK
1: Monday
2: ...
3
4
5: Friday
6: Saterday
7 Sunday
Regards
Edited by: Jürgen Degraeve on Apr 16, 2008 9:37 AM
Hi ,
Could you please provide me with a function module which determines whether a given date is a saturday or a sunday.
The user input would be the date.
Points will be rewarded.
Thanks and regards,
Frank
2008 Apr 16 8:36 AM
2008 Apr 16 8:36 AM
FM: DAY_IN_WEEK
1: Monday
2: ...
3
4
5: Friday
6: Saterday
7 Sunday
Regards
Edited by: Jürgen Degraeve on Apr 16, 2008 9:37 AM
2008 Apr 16 8:37 AM
Hi ,
Check these :
All function modules are contained in the function group SCAL.
DATE_COMPUTE_DAY
This function module returns the day of the week for the date passed.
DATE_GET_WEEK
This function module returns the week for the date passed.
WEEK_GET_FIRST_DAY
This function module returns the first day of the week passed. (This is always a Monday, regardless of whether it is a working day or a holiday.)
EASTER_GET_DATE
This function module returns the date of Easter Sunday for the year passed.
FACTORYDATE_CONVERT_TO_DATE
This function module returns the calendar date for the factory date and the factory calendar passed.
DATE_CONVERT_TO_FACTORYDATE
This function module returns the factory date for the date and factory calendar passed. You can specify with a parameter whether the next or the previous working day is returned if the day is not a working day.
HOLIDAY_CHECK_AND_GET_INFO
With this function module, you test whether a particular date in the holiday calendar passed is a holiday. If so, the definition of the holiday is returned.
reward if helpful.
Regards
Sourabh
2008 Apr 16 8:41 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |