Here I will provide the list of some useful functions based on the data types.
Date/DateTime functions:-
addTime(DateTime,calender) from PegaRULES:DateTime library
Add an amount of business or calendar time to a DateTime
CurrentDateTime() from PegaRULES:DateTime library
Return the system current DateTime in following format: 20181026T051021.606 GMT
differenceBetweenDate(DateTIme1, DateTIme2, usebusinessdays, Calendarname ) from Pega-RULES:BusinessCalendar library
Calculates the integer number of calendar or business days between a first and a second
FormatDateTime(DateTime, format,*,*) from Pega-RULES:DateTime library
For example FormatDateTime(DateTime,"yyyy-MM-dd'T'HH:mm:ss",null,null)
isBusinessDay(date,calendar) from Pega-RULES:BusinessDate library
True if the date is a business day in the calendar identified by the second parameter.
Property Functions:-
IsInPageList(LookFor, LookAt, LookIn) from Pega-RULES:Utilities library
Searches through the values in a
IsInPropertyList(LookFor, LookIn) from Pega-RULES:Utilities library
Search through the values in a
PageExists(pagename, activityname) from Pega-RULES:Default library
Check whether a page of a specific name already exists, in the context of an activity.
Date/DateTime functions:-
addTime(DateTime,calender) from PegaRULES:DateTime library
Add an amount of business or calendar time to a DateTime
CurrentDateTime() from PegaRULES:DateTime library
Return the system current DateTime in following format: 20181026T051021.606 GMT
differenceBetweenDate(DateTIme1, DateTIme2, usebusinessdays, Calendarname ) from Pega-RULES:BusinessCalendar library
Calculates the integer number of calendar or business days between a first and a second
DateTime
value, optionally based on a calendar data instance. This is positive
if the first date is later than the second date. A day is defined as
60*60*24 seconds in this calculation. FormatDateTime(DateTime, format,*,*) from Pega-RULES:DateTime library
For example FormatDateTime(DateTime,"yyyy-MM-dd'T'HH:mm:ss",null,null)
isBusinessDay(date,calendar) from Pega-RULES:BusinessDate library
True if the date is a business day in the calendar identified by the second parameter.
Property Functions:-
IsInPageList(LookFor, LookAt, LookIn) from Pega-RULES:Utilities library
Searches through the values in a
Page List
property for a match. IsInPropertyList(LookFor, LookIn) from Pega-RULES:Utilities library
Search through the values in a
Value List
property for a match.PageExists(pagename, activityname) from Pega-RULES:Default library
Check whether a page of a specific name already exists, in the context of an activity.