Show UTC time, as the current time instead and in pretty format

Show UTC time, as the current time instead and in pretty format

  
DateTime_PrettyFormat(AddHours(ProjectTable2.List.Current.LastEditted, 10))

eg. I record when the user makes a change to project ( in UTC ), then try to display the result in using the above so that it has the correct time.

- But according to this it says the last change will happen in 10 hours time, which be wrong. Arrr.

Hi Michael,

Your LastEdited has the current date right and then you Add 10 hours so it shows in 10 hours time. Isn't that correct?

Anyway the Date_PrettyFormat does not return the time in UTC format. For that you need to find an alternative.

Perhaps the timezone component on forge can help you with that (http://www.outsystems.com/forge/component-details/500/Time+Zone/)

Cheers,
Guilherme
True , TimeZone has methods for converting time from on etimezone to another and also has a method to get UTC time.
Hi,

I've gotten rid of the DateTime_PrettyFormat and just displayed: AddHours(ProjectTable2.List.Current.LastEditted, 10).

Perferred having the DateTime_PrettyFormat because it was pretty, but this will do for now ;)