DateTimeZone.FixedLocalNow

Syntax

DateTimeZone.FixedLocalNow() as datetimezone

About

Returns a datetime value set to the current date and time on the system. The returned value contains timezone information representing the local timezone. This value is fixed and will not change with successive calls, unlike DateTimeZone.LocalNow, which may return different values over the course of execution of an expression.