Need to format CurrentDateTime based on user timezone.
Hi,
i have developed UI for business user to make Scheduled absences for user. If user is unavailable for that particular time period we should not allow to assign any work to him
Here my requirement is to verify current date should not be in given date period(Example 3/24/2019 to 3/29/2019). while trying to verify this i need to consider user timezone also.
I have fetched user details in Operator page and trying to use his pyDefaultTimeZone. but its using always server timezone.
@FormatDateTime(@(Pega-RULES:DateTime).CurrentDateTime(), yyyyMMdd, "Operator.pyDefaultTimeZone", "")
Please let me know how to use user timezone.
***Edited by Moderator: Pallavi to update platform capability tags***