Obtain the day of the week from the date (Numeric type) using the two methods “code” and “design”, given below the related description:

bpmAppService.HelperServices.DateTimeService.GetDayOfWeekByNumeric (input1, input2);
input1: [date with DateTime format]
input2: True or False (meaning True or True)
Output: String