HELP NEEDED - Date Manipulation
Posted: Tue Oct 05, 2004 10:43 am
Can someone point me in the right direction on this question? I am building a "weekly message" CMS for a church web site. Their week starts on Sunday and they want to be able to post the Pastors sermon (or notes) for this weeks service on their web site.
What I would like to do is have the page load the message that falls on last Sunday all week long (until the next Sunday, when it loads the next week's message). I would also like to title the page "Weekly Message for Mmm, dd, YYYY" where the date is the most recent Sunday. All of the data will be stored in a MySQL table (unless the printed weekly date does not need to be).
I am drawing a total blank on how to do this. All help would be most appreciated.
What I would like to do is have the page load the message that falls on last Sunday all week long (until the next Sunday, when it loads the next week's message). I would also like to title the page "Weekly Message for Mmm, dd, YYYY" where the date is the most recent Sunday. All of the data will be stored in a MySQL table (unless the printed weekly date does not need to be).
I am drawing a total blank on how to do this. All help would be most appreciated.