capturing current month

dasadler
5StarLounger
Posts: 889
Joined: 25 Jan 2010, 16:26
Location: Garden Grove, CA 92844 USA

capturing current month

Post by dasadler »

have a website that has several menu items, one of which is Calendar. When Calendar is selected, a list of events by date show up. Each month has its own pages... january.html, february.html, etc...

problem I am trying to figure out is how to make the current month page display when a user clicks on Calendar. Currently, it shows January. What I would like is that the event list for Feb will display if the current month if February.

Is there a way to capture the current month and pass it to the html?
Don

User avatar
MalcolmWalker
3StarLounger
Posts: 227
Joined: 08 Feb 2010, 22:27
Location: Mid-Cheshire, UK

Re: capturing current month

Post by MalcolmWalker »


dasadler
5StarLounger
Posts: 889
Joined: 25 Jan 2010, 16:26
Location: Garden Grove, CA 92844 USA

Re: capturing current month

Post by dasadler »

Thanks. we will check it out although we wanted to avoid any use of java.
Don

User avatar
MalcolmWalker
3StarLounger
Posts: 227
Joined: 08 Feb 2010, 22:27
Location: Mid-Cheshire, UK

Re: capturing current month

Post by MalcolmWalker »

dasadler wrote:Thanks. we will check it out although we wanted to avoid any use of java.
ASP? http://www.planet-source-code.com/vb/sc ... 2&lngWId=4

BTW - As far as I know Java and JavaScript are not the same - have a look here:
http://www.howtogeek.com/138865/htg-exp ... ign=280213

dasadler
5StarLounger
Posts: 889
Joined: 25 Jan 2010, 16:26
Location: Garden Grove, CA 92844 USA

Re: capturing current month

Post by dasadler »

Thanks for the update - I always thought Java and Javascript were the same thing.
Don