Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Sean Morgan
March 19, 2006, 5:24 am
rate this thread
Re: Remember When Some Of You Retards Were Saying The Eval Function Doesn't Do Anything...
I was playing around with a Flash clock. The Date() function got the
system date/time. I was trying to retrieve the server time rather than
the time from the user's computer. I could have done the calculation
and set the timezone to GMT but I got lazy. I wanted to play around
with LoadVars(). I had some trouble reading the variables that was
outputted from the php script.
But as you for your blog date thing, what I did was, let's say:
I would get all the days from the database that was in March 2006.
Those days are stored into an array. Later when I generate the
calendar, each day of the month is tested to see if it exists in the
array. If so, I would link it to the right blog.