Any idea how I'd work out tomorrow's date using currentdate()? Or what the date will be in a week's time?
Tomorrow's date.
Blitz3D Forums/Blitz3D Beginners Area/Tomorrow's date. http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=298
And this describes the algorithm
http://vsg.cape.com/~pbaum/date/jdalg.htm
http://vsg.cape.com/~pbaum/date/jdalg2.htm
And this might be useful
http://vsg.cape.com/~pbaum/date/date0.htm
http://vsg.cape.com/~pbaum/date/analy1.htm
And this describes the algorithm
http://vsg.cape.com/~pbaum/date/jdalg.htm
http://vsg.cape.com/~pbaum/date/jdalg2.htm
And this might be useful
http://vsg.cape.com/~pbaum/date/date0.htm
http://vsg.cape.com/~pbaum/date/analy1.htm
Thanks, that's exactly what I needed :)
Now I think about it, I could also use a function to return a string for what the date would show in .... say 7 days time. I'm sure it can be done by fiddling around with the top routine, but it's a bit confusing - is there a routine that already does this? For example, if want to know the date in 7 days time, and it returns 28 Jan 2005 (for example).