Date Functions

Blitz3D Forums/Blitz3D Beginners Area/Date Functions

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.

Hmmm now then, this probably seems dumb after you've given me the above routine, which works perfectly for working out somebody's age in years, but what if I need to work out the distance between two dates in days only? I can't do (Years * 365 + Months * 31 + Days) or anything because of the different numbers in each year or month, so again, the only way I can think about doing it at the moment is by just adding on a day and counting until I reach the target date.

So for example, how would I get 'You've been alive for 13,456 days'.