A question of time.

Search
Other Pre-Sale questions
Forum

A question of time.

Paul Stallibrass's Avatar Paul Stallibrass
I am creating a site that updates at midnight every night. The update is simply a whole lot of timed Modules which change according to the time in Global Config.

What I am looking for is a method to update everything at midnight according to the user's clock, not mine.

Someone suggested that your Module Manager may have a way to do this, although I have used this extension and don't remember being aware of it.

Best wishes.
Peter van Westen's Avatar Peter van Westen ADMIN
No, not in a workable way.

The assignments work on the PHP level, and are done on the server side.
The visitors time is a client side thing.
So determining the clients actual time can only be done through javascript.
Or by using Geo Location to determine the location of the clients IP address and converting that to a timezone.
That will require you to do a bunch of custom php coding.
Please post a rating at the Joomla! Extensions Directory
Paul Stallibrass's Avatar Paul Stallibrass
Thanks Peter, I appreciate you taking the time to answer my question.

This is not something I have the ability to do, so I will have to manage without it.

I am surprised that nobody has tackled this before. It seems to me that if a site is built for a Worldwide Audience, it would be useful if the site married itself to the time of the visitor.

Have a great day.
You can only post on this forum if you log in