Need To make a calendar script, php
Okay i need to make a calendar script that will basically take this structure
function writeCalendar($start_date, $end_date){ } and i need it to print something like this: | June 13th, 2004 | June 20th, 2004 | |sun|mon|tue|wed|thur|fri|sat|sun|mon|tue|wed|thur|fri|sat| of course it will probably use a table instead of the '|' kinda microsoft project style(exactly like microsoft project style) if the function was given this writeCalendar(06132004, 06202004); any help or links one how i could do this? ive already downloaded some calendar scripts but im having trouble getting a script in this format. |
nevermind i figured it out, "yay me" but im having a problem im using time stamps to calculate the days so i have 86400 seconds in a day(60*60*24) and i dont know if thats really exact im not sure if time stamps use 24 hour days or the real 23 hrs and some odd minutes because im getting two sundays in a row around oct 31 so im assuming that 86400 may not be exact enough, anyone have any ideas?
oh and if anyone would like the code for the timeline let me know ill post it |
SOLVED
SOLVED it was daylightsavings cause my time stamp to fall short an hour causing double days
|
All times are GMT -5. The time now is 09:05 PM. |