NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AxHost.GetDATEFromTime

Maps from a DateTime object to an OLE DATE (expressed as a double)

[Visual Basic]
Public Shared Function GetDATEFromTime( _
   ByVal time As DateTime _
) As Double
[C#]
public static double GetDATEFromTime(
   DateTime time
);
[C++]
public: static double GetDATEFromTime(
   DateTime time
);
[JScript]
public static function GetDATEFromTime(
   time : DateTime
) : double;

Parameters

time
the DateTime object to convert

Return Value

the resulting OLE DATE

See Also

AxHost Class | AxHost Members | System.WinForms Namespace