Question

1
Replies
191
Views
RyanW416 Member since 2014 2 posts
RuleTek
Posted: 5 years ago
Last activity: 5 years 1 month ago
Closed

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
Share this page LinkedIn