There are (undocumented until now) date and time operators. Like maketime and makedate and gettime :-)
<b>gettime(<timestamp>)</b> returns an associative array with the current elements for the timestamp provided:
'seconds'
'minutes'
'hours'
'day'
'month'
'year'
'weekday'
'yearday'
'epoch'
<b>maketime(<hour>,<minute>,<second>,<month>,<day>,<year>,<dst>)</b>
returns a timestamp
<b>makedate(<month>,<day>,<year>,<dst>)</b> returns also a timestamp with the hour, minute ans seconds set to 0
I will try your code right now... this functions don't even appear in your book :) I always look there before posting and search the forum as well...
Regarding cross post: sorry, wont happen again, after posting I found my query more suitable for General than to Setup&Design forum, unfortunateley I don't know how to move or delete my own posts, is there such feature?
Thanks again.
Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.
Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.
You must be logged in to post messages in this topic!