Forum Discussion

johnjohn-Peter's avatar
johnjohn-Peter
Iron Contributor
Aug 22, 2024

Can i add 2 hours to Date/Time field inside PnP Modern Search web part

I have this formula inside PnP Modern Search web part:-

 

{{ getDate (getDate (slot item root.slots.PUETA) "YYYY-MM-DDTHH:mm:ss.0000000\Z") "MMMM DD, YYYY h:mm a" 3 }}

 

to format a date time, and allow it to follow the time zone of the site.. my question is how i can add 2 hours to the generated date/time from the above formula?

Thanks

No RepliesBe the first to reply

Resources