Skip to main content
Solved

Converting time from UTC to time zone time

  • February 20, 2026
  • 5 replies
  • 38 views

Forum|alt.badge.img

Hi, I just realized that the system stores the date and time in UTC. I need to display the Created Time in GMT.

What formula can I use in a Generic Inquiry (GI) to convert the UTC time to GMT?

Thanks!

Best answer by MWijesuriya43

@aryanjadhav50 ,

I have done a little change to ur formula and it worked.

= DateAdd([SOOrder.CreatedDateTime],'H', 11 )

Thank you for the help.

5 replies

Forum|alt.badge.img+1
  • Jr Varsity I
  • February 20, 2026

Hi ​@MWijesuriya43

UTC and GMT are the same (UTC+0), No conversion is needed in the GI.

Just use:

= [CreatedDateTime]

Only use DateAdd if you need to shift to a different time zone.


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • February 20, 2026

Hi ​@aryanjadhav50 , Thanks for the reply. I wanted to show the either AEST or AEDT time. 


Forum|alt.badge.img+1
  • Jr Varsity I
  • February 20, 2026

Hi ​@aryanjadhav50 , Thanks for the reply. I wanted to show the either AEST or AEDT time. 

yes ​@MWijesuriya43 

You can use the following formulas accordingly.

= DateAdd(hour, 10, [CreatedDateTime])
converts UTC → AEST

= DateAdd(hour, 11, [CreatedDateTime])
converts UTC → AEDT

It works correctly as long as the stored value is UTC.

Hope this help you.


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • February 20, 2026

@aryanjadhav50 , I tried adding this on MYOB instance and got this error. 

Unable to cast object of type 'System.Int32' to type 'System.String'. Do u have any idea?

 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Answer
  • February 20, 2026

@aryanjadhav50 ,

I have done a little change to ur formula and it worked.

= DateAdd([SOOrder.CreatedDateTime],'H', 11 )

Thank you for the help.