Convert UTC Time to Local Time for an Array of Data

In a server action, I am reading multiple records from the database, each of which contain a time stored in UTC. So the data struture is like this:

message_send_record
   time_sent in UTC
   other_information

I want the output of the server action to be like this:

message_send_record
   time_sent in local time
   other_information

How do I do this in Wappler?

Community Page
Last updated: