DateTime.LocalNow

About

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

Syntax

DateTime.LocalNow() as datetime  

Remarks

  • The returned value does not contain timezone information.

Example

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