Re: Finding user's timezone
| From: | Stut | Date: | Fri, 03 Nov 2006 13:36:48 +0000 |
| Subject: | Re: Finding user's timezone | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244148@lists.php.net to get a copy of this message | ||
Dotan Cohen wrote:
On 03/11/06, M <lists@gazelasport.sk> wrote:There is no way to get the client date/time/timezone on the server-side unless you have something on the client to give it to you, Javascript being the obvious example. -StutYou can use javascript: var Today = new Date(); alert(Today.toString()); just parse the output using regexpHmm, I suppose that I could use Javascript, but I'd rather do it all serverside. Any other ideas on behalf of the think-tank that is this list?