CorLib  

CorDateTimeStatic: UtcNow

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

[Visual Basic]
 Public Function UtcNow ( ) As CorDateTime

Return Values

CorDateTime -  The CorDateTime 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

Class CorDateTimeStatic Overview | CorDateTimeStatic Members | TryParse