Professional Documents
Culture Documents
Pega is a robust BPM tool which provides many OOTB (out of the box) activities and
functionalities to create and manage business processes.
I have worked on multiple development and support project and during these times I
have come across many a times business process requires date and time to be
formatted and should be passed on to downstream application in certain format or
display on UI in a given format or store in a format in DB.
I have observed that many people uses a string operation on date property and try to
give in a format in which business is asking for or do customize coding for converting
values for a specific timezone.
This can be avoided if we simply apply logic and format defined in Pega.
This is not a new thing but developers overdo a thing which can be solved easily
and without any customization
https://www.linkedin.com/pulse/understanding-date-formatting-converting-values-pega-prpc-sankhala?trk=portfolio_article-card_title 1/3
3/26/2018 Understanding of Date formatting and Converting values in different timezones in Pega PRPC | Shailendra Sankhala | Pulse | LinkedIn
A Java date pattern is a sequence of one or more letters that controls the presentation
of a date, or date and time. For example, the pattern MM/dd/yyyy is a request for a date
to be presented in the format 07/04/1976, for July 4, 1976.
The standard function rule FormatDateTime() in the Pega-RULES DateTime library can
convert a DateTime property value according to a Java date pattern. The Trend feature
in summary view rules accepts Java data patterns for the trend DateTimeproperty.
These letters are most often used in a date pattern. Case is significant.
y — Year as a number
d — day in month
Time zones and locales can also be parameters to the FormatDateTime() function, so
that the pattern "yyyy.MM.dd G 'at' HH:mm:ss" with time zone 08 (Pacific) and locale
EN can produce the value 2006.07.04 at 12:08:56 PDT.
For a comprehensive description of pattern syntax, consult a Java language reference for
the SimpleDateFormat class.
______________________________________________________________________
Pega PRPC and all other details mentiined here are copyrights of Pega.
This article created just for the purpose sharing the learnig and with no
intent of violation of any intelectual property rights reserved by its owner/s
https://www.linkedin.com/pulse/understanding-date-formatting-converting-values-pega-prpc-sankhala?trk=portfolio_article-card_title 2/3
3/26/2018 Understanding of Date formatting and Converting values in different timezones in Pega PRPC | Shailendra Sankhala | Pulse | LinkedIn
Shailendra Sankhala
PEGA CPDC, CSSA, CSA and CBA Follow
5 articles
4 comments Newest
Why the Cambridge Analytica case What an Amazon explorer can teach you Artificial intelligence could complet
shouldn't make you #DeleteFacebook about finding your big idea transform patient care. So why are
Jan Rezab on LinkedIn Reid Hoffman on LinkedIn nurses so skeptical about it?
Beth Kutscher on LinkedIn
Sign up Help Center About Careers Advertising Talent Solutions Sales Solutions Small Business Mobile Language SlideShare Online Learning
Search Jobs Directories Members Jobs Pulse Topics Companies Groups Universities Titles ProFinder
© 2018 User Agreement Privacy Policy Community Guidelines Cookie Policy Copyright Policy Unsubscribe
https://www.linkedin.com/pulse/understanding-date-formatting-converting-values-pega-prpc-sankhala?trk=portfolio_article-card_title 3/3