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 where are you using today()?
ryan_b_123
2 years agoFrequent Visitor
parry2k - I mentioned that I specifically am not using "today()". This is why it is confusing to me. My code references UTC so I don't understand how the base time could affect my result.