on 09-28-2017 6:45 PM
Hi all,
My requirement is to show day based on current date i was trying to put a logic explained below:
var a=APPLICATION.getInfo().dateNowInternalFormat;
than I have extracted the current week number(39 this week).
from the week number i got the first day of the week but it has return wrong value.
please helpme on these.is there any way to get the day (monday ,tuesday)from the current date?
Hi Swagata,
You can use the getDayOfWeek() method of the Design Studio SDK Community Simple Date Object Component to retrieve the integer value value of the current weekday (0-Sunday, 1-Monday, 2-Tuesday, 3-Wednesday, 4-Thursday, 5-Friday, 6-Saturday, 7-Sunday) and then an array reference to lookup the corresponding text.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi - is your data source a BEx query? If so, see this: https://archive.sap.com/discussions/thread/383848
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.