Forum Discussion
ryan_b_123
2 years agoFrequent Visitor
Getting current time in PST - Incorrect results
Hello, I am using below code to get the current time in PST (Los Angeles time): DateTimeZone.SwitchZone(DateTimeZone.UtcNow(),-8) When I publish and check online, I am sometimes getting an in...
parry2k
2 years agoSuper User
ryan_b_123 on the desktop, it uses the local timezone but once it is published, it is using GMT as the base time and that could be the reason you are getting a different time stamp.