|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP Calendar Script
Anyone know of where I can find a php calendar script that runs in weekly view, from Saturday to Saturday (8 days)? I've tried to manipulate a few, but its been tough.
|
|
#2
|
|||
|
|||
|
Quote:
You may have to write your own, but it shouldn't be too hard. PHP has great time / date functions and db connectivity. |
|
#3
|
|||
|
|||
|
I figured out how to achieve what I need. Next issue is this. I have a designated start date, and every day there after adds one to a counter. In other words, if the start date is today, today's counter would be 0, tomorow, 1, the next day, 2, etc. I'm currently using the following to create the counter:
$day_count = date("z",strtotime("$StartDate $DaysToAd[$i]")) - date("z",strtotime("$start_date")); the date("z") works well, but I suspect I'll run into problems as we near day 365, and the counter will inherently start over. Any suggestions? |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > PHP Calendar Script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|