Skip to content
Advertisement

Add hours/minutes to datetime

I’m having an issue on how to add the Offset to the EventDateTime. Is there a way to do this? I would convert it to a decimal number but cannot because 5:30 is not 5.3 hours, it’s 5 hours and 30 minutes.

The data is shown below with the expected output. Please help if possible.

Sample Data:

Expected Outcome:

What I have done so far:

Advertisement

Answer

Not exactly pretty, but it works…

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement