CorDateTimeStatic: FromMilliseconds

FromMilliseconds

Returns a CorDateTime object from milliseconds.



 Public Function FromMilliseconds(
	  ByVal ms As Currency,
	  Optional ByVal Kind As DateTimeKind = UnspecifiedKind ) As CorDateTime

Parameters

ms
[ByVal] Currency. The number of milliseconds the time is equal to.
Kind
[ByVal] Optional. DateTimeKind. Specifies whether the CorDateTime is a UTC, Local, or unspecified time type.  

Default: UnspecifiedKind

Return Values

CorDateTime -  The CorDateTime object converted from milliseconds.

Remarks

Since a Currency can be passed in, the fractional portion can be used to represent the number ticks (1/10000 ms) in the date.

See Also

Project CorLib Overview

Class CorDateTimeStatic Overview