DateTimeZone.LocalNow

Returns a datetimezone value that is set to the current date and time on the system. The value returned includes timezone information that represents the local timezone.

Syntax

DateTimeZone.LocalNow() as datetimezone

About

Returns a datetimezone value that is set to the current date and time on the system. The value returned includes timezone information that represents the local timezone.