Marcel Kilgus wrote: ... > I only added the functions that are readily available (i.e. DATE$ had > to calculate all this anyway, it's just a matter of exposing the > values to BASIC). Was a 5 minutes job.
Precisely what I would have done. >>I also often find SECONDS(year, month, day, hour, minutes, seconds) >>handy. > > What's the difference between SECONDS and DATE? DATE returns the number of seconds [since 01/01/61] for the /current/ date/time (I suspect it just reads a/the clock); SECONDS takes 6 params (or possibly a single string param) and converts them (it) into the number of seconds [since 01/01/61] ie SECONDS allows a programmer to convert any arbitrary date[-time] into internal format - the inverse of the DATE$(<secs>). _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm