Create a System.DateTime from this Timestamp. Timestamp is assumed to be of type Timestamp.TIMESTAMP. The resulting DateTime object will be of kind DateTimeKind.Utc. Deprecated: Use ToUTCDateTimeOffset()()()() or ToLocalDateTime()()()().

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Deprecated. Please use Timestamp.ToUTCDateTimeOffset() or Timestamp.ToLocalDateTime() instead.")]
public DateTime ToDateTime()
<ObsoleteAttribute("Deprecated. Please use Timestamp.ToUTCDateTimeOffset() or Timestamp.ToLocalDateTime() instead.")> _
Public Function ToDateTime As DateTime
public:
[ObsoleteAttribute(L"Deprecated. Please use Timestamp.ToUTCDateTimeOffset() or Timestamp.ToLocalDateTime() instead.")]
DateTime ToDateTime()

See Also