-
Display an image at a exact time of day.
Hi
I'm not very experienced in PHP but I am looking to get a script to display a image at a set time based on a persons computer time not the server time. Such as at exactly 19:45 image1 will appear but all other times of the day it will show image2. I have searched around but all I can find is stuff based on the Server time so can it be done using a persons computer time.
Any help would be appreciated.
-
-
From what I know and can find, you will need to do this with javascript and I think this function will help you - Date.toLocaleString().
You may want to post a topic in the javascript forum if you don't know how to do this.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks