Dotan Cohen wrote:
> On 03/11/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> On Fri, November 3, 2006 6:09 am, Dotan Cohen wrote:
>> > How does php decide what timezone a user is in? Although I am in
>> > Haifa, Israel (GMT+2), when I go to a page with date("e") I get
>> > "America/New_York" displ
On 03/11/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, November 3, 2006 6:09 am, Dotan Cohen wrote:
> How does php decide what timezone a user is in? Although I am in
> Haifa, Israel (GMT+2), when I go to a page with date("e") I get
> "America/New_York" displayed.
I could be wrong, but I
On Fri, November 3, 2006 6:55 am, Dotan Cohen wrote:
> On 03/11/06, André Medeiros <[EMAIL PROTECTED]> wrote:
>> The result of that function would depend on where the server is
>> installed, not where the client is accessing it from, right?
>>
>
> That's not what php.net/date implies:
> e: "Ti
On Fri, November 3, 2006 6:09 am, Dotan Cohen wrote:
> How does php decide what timezone a user is in? Although I am in
> Haifa, Israel (GMT+2), when I go to a page with date("e") I get
> "America/New_York" displayed.
I could be wrong, but I think date('e') tells us where your SERVER is.
Or, more
I second that. My company has an IP address on the mainland which is
our internet gateway, but on the azorean islands the time zone is
different.
On 11/3/06, Edward Kay <[EMAIL PROTECTED]> wrote:
> Hmm... in $_SERVER array you get a client IP so You know client coutry. if
> exists a list of ip
> Hmm... in $_SERVER array you get a client IP so You know client coutry. if
> exists a list of ip numbers and coutries should be exists list
> coutries and
> timezones too, so it should be easy. Eventually you may create
> short list of
> this countries what will be visitors from (or only biggest
Hmm... in $_SERVER array you get a client IP so You know client coutry. if
exists a list of ip numbers and coutries should be exists list coutries and
timezones too, so it should be easy. Eventually you may create short list of
this countries what will be visitors from (or only biggest coutries).
Dotan Cohen wrote:
On 03/11/06, M <[EMAIL PROTECTED]> wrote:
You can use javascript:
var Today = new Date();
alert(Today.toString());
just parse the output using regexp
Hmm, I suppose that I could use Javascript, but I'd rather do it all
serverside. Any other ideas on behalf of the think-ta
On 03/11/06, M <[EMAIL PROTECTED]> wrote:
You can use javascript:
var Today = new Date();
alert(Today.toString());
just parse the output using regexp
Hmm, 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
Dotan Cohen wrote:
On 03/11/06, André Medeiros <[EMAIL PROTECTED]> wrote:
The result of that function would depend on where the server is
installed, not where the client is accessing it from, right?
That's not what php.net/date implies:
e: "Timezone identifier"
T : "Timezone setting of this m
On 03/11/06, André Medeiros <[EMAIL PROTECTED]> wrote:
The result of that function would depend on where the server is
installed, not where the client is accessing it from, right?
That's not what php.net/date implies:
e: "Timezone identifier"
T : "Timezone setting of this machine"
If "T" is t
André Medeiros wrote:
The result of that function would depend on where the server is
installed, not where the client is accessing it from, right?
Close but no cigar! It's how the server is configured, not where it is
installed. But essentially correct, the PHP datetime functions use the
serv
The result of that function would depend on where the server is
installed, not where the client is accessing it from, right?
On 11/3/06, Dotan Cohen <[EMAIL PROTECTED]> wrote:
How does php decide what timezone a user is in? Although I am in
Haifa, Israel (GMT+2), when I go to a page with date("e
13 matches
Mail list logo