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

DateTime.LocalNow

Owen Duncan|Last Updated: 4/19/2018

About

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

DateTime.LocalNow() as datetime  

Remarks

  • The returned value does not contain timezone information.

Example

DateTime.LocalNow()equals 2013-03-08T14:22:42  
© 2018 Microsoft