Drawing history from the current date can be done using two methods, “code” and “design”, given below the related description:

bpmAppService.HelperServices.DateTimeService.CurrentDate.Date;
Output: DateTime