Table of contents
TOC
Collapse the table of content
Expand the table of content

DateTimeZone.LocalNow

Owen Duncan|Last Updated: 4/19/2018

About

Returns a DateTime value set to the current system date and time.

DateTimeZone.LocalNow() as datetimezone  

Remarks

  • The return value contains timezone information representing the local timezone.

Example

DateTimeZone.LocalNow() equals 2011-02-20T22:19:38-08:00  
© 2018 Microsoft