Gets a
DateTime object that is set to the current date and time on this computer, expressed as the local time.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static DateTime Now { get; }
Return Value
Type:
DateTimeAn object whose value is the current local date and time.
See Also