this is interesting... and got me thinking of the calculation concept
as most yearly systems are fixed...
aside from leap years... which is easy to calculate anyway
say you use that LEFT$ and RIGHT$ thing
MM / DD / YY
you can work this out by using
PRINT GET DATE$()
WAIT KEY
END
so my concept is
MM = 12
DD = 1-31 [depending on MM] [IF MM = 01 DD = 31 etc]
YY = 12 [FROM NOW] to 99 [or how ever long you anticipate your app to be in existence for] [this is also used to interpret the leap year data]
so basically you take the month calculate the individual months prior up to the present month and then calculate the current day to represent the total of days for that month then simply calculate the total days within the year that have elapsed from the previous run... same goes for time which is likely more tedious lol
eugh can someone post up a less complex method or build from mine?
I would love to see a simple community shared concept...
[And for the record I never claim to be a maths Einstein]
EDIT
Fixed the code box