cDateTimeStatic: Now

Now

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

 Public Function Now ( ) As cDateTime

Return Values

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

Remarks

This method uses GetLocalTime which has a resolution down to the milliseconds. If the milliseconds is not wanted, then either the Millisecond must be subtracted for the instance, or use cDateTime.FromOADate(Now).

See Also

Project VBCorLib Overview | Class cDateTimeStatic Overview