By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

Displaying something at certain time

P: n/a
Hey Everyone,
I was wondering is there a way to have something display on my
webpage during business hours and then disappear when it is not
business hours? it just needs to be a checkbox nothing fancy. I would
also like it to display according to server time rather then client
time.
Jan 3 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Jan 3, 2:00*pm, "ysous...@gmail.com" <ysous...@gmail.comwrote:
Hey Everyone,
* * I was wondering is there a way to have something display on my
webpage during business hours and then disappear when it is not
business hours? it just needs to be a checkbox nothing fancy. I would
also like it to display according to server time rather then client
time.
Since you are wanting to use server time, I think the only way to do
this would be a server side script like php.

Jan 3 '08 #2

P: n/a
ys******@gmail.com said:
Hey Everyone,
I was wondering is there a way to have something display on my
webpage during business hours and then disappear when it is not
business hours? it just needs to be a checkbox nothing fancy. I would
also like it to display according to server time rather then client
time.

You could conceivably get the time from SSI with:

<!--#echo var="DATE_LOCAL" -->

But that's if you're running Apache, and have Server Side Includes
turned on. Most will have a facility for Server Side Includes, though I
don't have a clue about MS server solutions.

~A!
--
anthony at my pet programmer dot com
Jan 3 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.