Peoplecode to set timer on a page
We want to know if there is any function in peoplecode which can achieve this.
Users logs into a page.The page has a field called as "End datetime" field.Let us assume that the value on the field is June 26 2019 : 5:00 PM.
If the current datetime is 15 minutes before the "end datetime" field value, then popup a message saying that "You transaction is about to end".
I would appreciate your response.