Frequently Used Date Expressions In Pega
Hi, In this post I will show some of the frequently used date expressions in pega. Before starting we will see some of the date subscripts used in date functions. For Ex: If date is = 05/March/2023 yyyy = Year => 2023 YYYY => 2023 MM = Month => 03 M=> 3 MMMM ===> March MMM ====> Mar dd = Date/day => 05 d ===> 5 1) pxFormatDateOnly(CurrentDateTime(),"yyyyMMdd","MM/dd/yyyy") Here, CurrentDateTime() = 20230618T025027.005 GMT CurrentDateTime() returns the current date and time. pxFormatDateOnly() = Format/reformat a Date Time string using a specified parameters. Output = 06/18/2023 { which is 18 June 2023} 2)...
Comments
Post a Comment