Hi, Im using the web Dev module and I have a client who is sending a time in UTC, I need to send some data back based on that time, the problem is that I need to convert that time to my gateway time zone and send the right data back. Should be easy but I dont know how to handle the time savings issue.
You'll probably need the functions like:
system.date.getTimezoneOffset(date)
and
system.date.addHours(date, hours)
Refer to the manual for more help.
What is the format coming in? At this point, I'm assuming it's text?
I was looking for something that include the daylight savings
system.date.getTimezoneOffset(date)
we are good, thanks