Closed
Solved
What is the usage of @DateTime.pxGetSpecifiedTimeOnDate() function in pega.
Why is @DateTime.pxGetSpecifiedTimeOnDate() used and how is it different from @(Pega-RULES:BusinessCalendar).addTime() in pega
@TanyaS58
@DateTime.pxGetSpecifiedTimeOnDate() returns a datetime stamp for a specified time on a given day. Uses requestor's default time zone if not specified, and current date if time not specified. Input can be either date or datetime.
Regarding differences primarily what I know here is you can't specify any business calendar.