Hunny Software Library Reference

DateTime Constructor (ByteString)

Constructor that takes an initial byte string argument.

[Visual Basic]
Overloads Public Sub New( _
   ByVal bstr As ByteString _
)
[C#]
public DateTime(
   ByteString bstr
);

Parameters

bstr
initial value for the string representation

Remarks

This constructor sets the DateTime object's string representation to bstr and sets its parent node to null. The date-time value is set to the null value, defined as the date 1 Jan 1970 00:00:00 UTC.

Normally, you call the Parse() method immediately after this constructor to parse the date and time information from the string representation.

See Also

DateTime Class | Hunny.Mime Namespace | DateTime Constructor Overload List