The Date Type

BlitzPlus Forums/BlitzPlus Programming/The Date Type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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+...