SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 3rd, 2004, 07:11 PM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 617 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 15 h 55 m 8 sec
Reputation Power: 5
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.

Reply With Quote
  #2  
Old March 4th, 2004, 10:54 PM
Saeed al-Sahaf Saeed al-Sahaf is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Seattle-Tacoma, Washington USA
Posts: 81 Saeed al-Sahaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 0
Quote:
Originally Posted by jsbruns
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.

You may have to write your own, but it shouldn't be too hard. PHP has great time / date functions and db connectivity.

Reply With Quote
  #3  
Old March 5th, 2004, 07:44 AM
jsbruns jsbruns is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: Washington, D.C.
Posts: 617 jsbruns User rank is Private First Class (20 - 50 Reputation Level)jsbruns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 15 h 55 m 8 sec
Reputation Power: 5
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > PHP Calendar Script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway