Forum Discussion
30rakesh
10 years agoRegular Visitor
Get Current UTC datetime
Hi, Can anyone please suggest me on how to get the current datetime in UTC. I used function Now() but it is returning the current system local time. Thanks Rakesh
elliotdixon
9 years agoResponsive Resident
Hi 30rakesh I use a slightly different formula to Greg_Deckler
Find your timezone e.g. mine is New Zealand +13hours for summer time.
and use code
Date NZTimeZone_NowDateTime = NOW()+(13/24)
unfortunatley I have to remember to change this back after daylight savings time.