Use the attached class file to get the Day of the Week within the Data Mapper . Place the attached class in customClasses folder (\AdeptiaSuite-x.x\AdeptiaServer\ServerKernel\customClasses) and restart the server.
Here's a description of the methods:
getModifiedDate(String date,String dateFormat) :- This is the method which is used to get the date according to the below requirement.
getDayName(String date,String dateFormat) :- It will return the name of the day for particular date which will be passed as input argument.
validateDate(String date,String dateFormat) :- This method is used to validate the input date with the format.