cDateTimeStatic: UtcNow

UtcNow

Returns a cDateTime that represents the current time with the UTC offset.



 Public Function UtcNow ( ) As cDateTime

Return Values

cDateTime -  The cDateTime object representing the current time with the UTC offset.

Remarks

This method uses GetSystemTime which has a resolution down to the milliseconds. There is no direct VB equivalent.

See Also

Project VBCorLib Overview Class cDateTimeStatic Overview cDateTimeStatic Properties cDateTimeStatic Methods TryParse