Close popover
Ryan Wood (RyanW416)

RyanW416 Member since 2014 2 posts
Posted: July 28, 2015
Last activity: July 29, 2015

Where does the value for \tdatetime_default, passed to CurrentDate, come from?

I was wondering about the (Pega-RULES:DateTime).CurrentDate function.

The rule RULE-OBJ-ACTIVITY @BASECLASS SHOWCALENDAR has in it's second step this call:

Lib(Pega-RULES:DateTime).CurrentDate("\tdatetime_default", Param.TimeZone)

in a Property-Set, but I haven't been able to find that value anywhere. We've been dealing with formatting for dates in our program without issue before now, but we need to make a change (our formatting was bad in a few rules, using DD instead of dd). Thinking ahead, if we end up encountering a problem like this again, I would like the ability to set these all according to a single value.

The obvious route would be a Data-Admin-System-Setting, but I came across this parameter while I was looking into it, and it piqued my curiosity, so I was wondering if anyone knew offhand, or could point me in the right direction as to where, if anywhere, this value is being populated from?

Low-Code App Development
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.