Convert pzLoadTime into standard Pega Date Time format

Peter Gousios
Wed, 05 Mar 2025 17:58:03 +0000
General

It seems curious to me that pzLoadTime (eg

March 5, 2025 at 5:40:55 PM GMT)

doesn’t follow the standard date time format like pxRequestorStart or pyUserLoginTime.

20250305T174144.236 GMT

while there are many functions to use the pega standard time stamp, I didn’t see much OOTB to convert the pzLoadTime into something that could be passed to @DateTimeDifference, since I have a long lived node level page that I would like to run logic on under certain conditions related to the load time.

Has anyone generated code to already convert this property?

3 posts - 1 participant