Posted by Michael Fesser on 11/01/07 17:42
..oO(James54321)
>I am making a little PHP timetable for myself but the rooms change
>every week, so I'm storing the dates of each week number (they're
>numbered 1 - 52). If there is any way of getting the sytem to count
>the weeks for me so I don't have to enter the dates of each week that
>would be greatly appreciated. The main thing I need is to be able to
>get the php script to recognise which week it is in and display the
>appropriate rooms - but I have never worked with dates at such a level
>and so I'm not sure how to that.
Check the parameters of strftime() or date().
Also note that some years have 53 weeks.
Micha
[Back to original message]
|