How to get the now datetime in UTC?

brumiou
Mega Guru

Hello,

For an integration with other system in other countries, I've to put the UTC datetime in an xml.

If I put the gs.nowDateTime(), it returns the datetime of our timezone, but not the UTC...

Do you know another gs datetime function?


Thanks a lot

Regards

Xavier

3 REPLIES 3

john_roberts
Mega Guru

gs.nowNoTZ()


Awesome I was looking for this too! Thanks!


brumiou
Mega Guru

it works!

thanks a lot!