Page 1 of 1

Check the current time

Posted: Sun Nov 22, 2009 4:46 am
by xionhack
Hello. Im making a site for a radio show. I want that when the radio show is on air, to show a little button to listen live. I know how to do the button and all that. My only problem is checking if the current time is the time of the show.

The show airs every sunday from 5 pm to 8 pm and also the first month of every month it plays an extra hour from 10 am to 11 am. How can I do that? Thanks

Re: Check the current time

Posted: Sun Nov 22, 2009 4:59 am
by papa

Re: Check the current time

Posted: Sun Nov 22, 2009 5:11 am
by xionhack
I was able to do everything except to know when is the first sunday of the month. How can I do that?

Re: Check the current time

Posted: Sun Nov 22, 2009 5:54 am
by Apollo
xionhack wrote:I was able to do everything except to know when is the first sunday of the month. How can I do that?
Pretty much same as here