I need to do a redirect that works in the following way:
From Monday to Friday between 12:00am and 1:30am, and Saturday at 6pm to Sunday noon, I want my hyperlink to go to one page. But during all other hours, I want it to go to another page.
This is a pared down version of the html page that...
I need to retrieve the server's timestamp. Specifically, I only need the day of the week and the time (in 24 hr format). How would I do this? I'm unfamiliar with this language so I need a little help on handling it in my HTML page. Can I use this data in a javascript comparison?
So...
1. If I just wanted two separate variables, one for the Day of the week (Mon, Tue, Wed, etc) and another for the hour of the day (in AM/PM or the 24h clock), how would I isolate that into the format I want?
2. From my .html page, how do I retrieve the value stored in the variable passed...
So what date and time format does this produce? I'm not at all familiar with PERL. Do I dump this code in a .pl file? That's it? How do I call up this data?
I am doing a web page that contains a hyperlink that is time sensitive. During the "on" hours, I'd like the link to go to Page1.html but during the "off" hours, I want it to go to Page2.html.
Off hours are as follows:
Mon-Fri: 12:00am - 1:30am
Sat 6pm - Sun 12pm
I have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.