BinaryReader: ReadDate

ReadDate

Reads 8 bytes from the stream and returns them as a Date datatype.

 Public Function ReadDate ( ) As Date

Return Values

Date -  A Date datatype read from the stream.

Remarks

It is possible to read a combination of 8 bytes that convert into an invalid Date. This will cause and Overflow error.

See Also

Project VBCorLib Overview | Class BinaryReader Overview