July 2008
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
August 2008
Su Mo Tu We Th Fr Sa
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Subscribe:

Newsfeeds:
RSS 2.0 (Recommended)
RDF 1.0
RSS 0.92
Notify my e-mail when new articles are posted:


Archive

Opera - The Fastest Browser on Earth
Administrator Login

New Calendar

Posted on Jan 11, 2006 at 6:38pm
Calendars are surprisingly hard to code. If only I had known that mktime() accepted negative values earlier. That is soooo the best!

Now to throw a calendar in somewhere, I just do
show_calendar( offset );
where
offset
is the month offset from the current. So 0 is the current month, 1 is next month, -2 is 2 months ago, etc. yay!
Comments (0)
Add a comment
Name
E-Mail
Comment
Enter the following text: mcdyvj57
Remember Me
Notify me of new comments