CorDateTimeStatic: Now (get)

Now

Returns a CorDateTime that represents the current time on the local machine.



 Public Property Get Now ( ) As CorDateTime

Return Values

CorDateTime -  The CorDateTime object representing the current time on the local machine.

Remarks

This method uses Windows GetLocalTime which has a resolution down to the milliseconds. If the milliseconds is not wanted, then either the Millisecond must be subtracted from the instance, or use CorDateTime.FromOADate passing the VB Now value.

Read Only.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview