The Date Type

BlitzPlus Forums/BlitzPlus Programming/The Date Type

Thom(Posted 2005) [#1]
I'm wondering whether an 8-bytes floating point number data type representing the time and date exists in BlitzPlus.

I'd like to read 8-bytes from a file and convert it into "DD-MM-YYYY hh:mm". In VB it's easy: Get #fnum, dt (dt defined as Dim dt As Date) This will read 8 bytes and dt will automatically be DD-MM-YYYY hh:mm.

As I seem to be limited to commands like ReadShort, ReadBytes etc I'm looking for an alternative in BB+...


Beaker(Posted 2005) [#2]
There is no Date type in any version of Blitz. Closest thing is this:
http://www.blitzbasic.com/codearcs/codearcs.php?code=298