C
Claire
Ive been writing DateTime variables to streams the long way
binarywriter.write((int)Day); binarywriter.write((int)Hour) etc
Is there a conversion routine or some other way to shorten the process of
doing this please (eg in Delphi you just cast to a Double value and wrote
that)
I looked at DateTime.IConvertable.ToDouble, but help file said you shouldn't
use this.
I don't want to write it as a string.
thanks
binarywriter.write((int)Day); binarywriter.write((int)Hour) etc
Is there a conversion routine or some other way to shorten the process of
doing this please (eg in Delphi you just cast to a Double value and wrote
that)
I looked at DateTime.IConvertable.ToDouble, but help file said you shouldn't
use this.
I don't want to write it as a string.
thanks