asp.net.ph

DateTime.Now Property

System Namespace   DateTime Structure


Returns a DateTime that is the current local date and time on this computer.

[ VB ]
<Serializable>
Public Shared ReadOnly Property Now As DateTime

[ C# ]
[ Serializable ]
public static DateTime Now { get; }

[ C++ ]
[ Serializable ]
public: __property static DateTime get_Now ( );

[ JScript ]
public Serializable
static function get Now ( ) : DateTime;

Property Value

A DateTime whose value is the current date and time.

Remarks

The resolution of this property depends on the system timer.

System Approximate Resolution
Windows NT 3.5 and later 10 milliseconds
Windows NT 3.1 16 milliseconds
Windows 98 55 milliseconds

See Also

DateTime Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph