On Mon, Apr 15, 2013 at 10:06 PM, Larry Martell
mailto:la...@software-horizons.com";>> wrote:
On Mon, Apr 15, 2013 at 2:57 PM, Maciek Sokolewicz
wrote:
> On 15-4-2013 22:12, Larry Martell wrote:
>>
>> On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote:
>>>
>>> Larry Martell wrote:
>
>
>
On 15 April 2013 23:06, Larry Martell wrote:
> But UCT is not the timezone. When this app runs in New Mexico (where I
> am) it's Mountain time. When it runs in NY it's Eastern. When it runs
> in Tokyo it's JST, etc. The user has the option of setting the
> timezone all times are displayed in. Th
On Mon, Apr 15, 2013 at 2:57 PM, Maciek Sokolewicz
wrote:
> On 15-4-2013 22:12, Larry Martell wrote:
>>
>> On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote:
>>>
>>> Larry Martell wrote:
>
>
> No, I don't - this app runs in different locations all over the world.
I fo
On 15-4-2013 22:12, Larry Martell wrote:
On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote:
Larry Martell wrote:
No, I don't - this app runs in different locations all over the world.
I found some code at php.net that does this:
date_default_timezone_set(@date_default_timezone_get());
$d
On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote:
> Larry Martell wrote:
>>>
>>> No, I don't - this app runs in different locations all over the world.
>>
>> I found some code at php.net that does this:
>>
>> date_default_timezone_set(@date_default_timezone_get());
>> $deftz = date('T');
>>
>>
Larry Martell wrote:
No, I don't - this app runs in different locations all over the world.
I found some code at php.net that does this:
date_default_timezone_set(@date_default_timezone_get());
$deftz = date('T');
And that is working for me and giving me what I need.
But do you ACTUALLY know
On Mon, Apr 15, 2013 at 11:35 AM, Larry Martell wrote:
> On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan
> wrote:
>> You don't know which timezone the server is in? That's what it wants.
>
> No, I don't - this app runs in different locations all over the world.
I found some code at php.net tha
On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan
wrote:
> You don't know which timezone the server is in? That's what it wants.
No, I don't - this app runs in different locations all over the world.
> Larry Martell wrote:
>>
>> On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist
>> wrote:
>
You don't know which timezone the server is in? That's what it wants.
Larry Martell wrote:
>On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist
> wrote:
>>
>>
>>
>> On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell
>
>> wrote:
>>>
>>> I have a client that has an app the runs with PHP 5.1.6. They
On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist
wrote:
>
>
>
> On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell
> wrote:
>>
>> I have a client that has an app the runs with PHP 5.1.6. They want to
>> upgrade to 5.3.3. First issue I ran into, they have a line of code
>> that is:
>>
>> $deftz =
On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell wrote:
> I have a client that has an app the runs with PHP 5.1.6. They want to
> upgrade to 5.3.3. First issue I ran into, they have a line of code
> that is:
>
> $deftz = date("T");
>
> I'm getting this for that line:
>
> [Mon Apr 15 10:44:16 2013]
Manoj Singh wrote:
Hi All,
Is there any function in PHP which will provide me the details of any
timezone such as current time, DST, offset etc.
Thanks in advance,
Manoj
It's called date
http://php.net/manual/en/function.date.php
The manual page on the function tells you how to get all tha
Nathan Rixham wrote:
Dirk wrote:
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and
forth 6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database i
Nathan Rixham wrote:
Dirk wrote:
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and
forth 6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database i
Dirk wrote:
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and
forth 6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezo
Nathan Rixham wrote:
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and forth
6 hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Americ
Dirk wrote:
Hello,
what could cause the timezone in PHP to, randomly, jump back and forth 6
hours now and then?
from phpinfo():
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone America/Chicago
Directive
On Wed, Mar 12, 2008 at 10:50 AM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Lamonte H wrote:
> > After a while of studying different softwares, I've still been getting
> > confused on how to make a timezone management script to display time in
> > different time zones. Like right now im in -060
Lamonte H wrote:
After a while of studying different softwares, I've still been getting
confused on how to make a timezone management script to display time in
different time zones. Like right now im in -0600 CST GMT, how would I
create a script that would work on any server that would allow m
On Monday 21 May 2007 19:33, Rob Desbois wrote:
> How often does the timezone DB (php_timezonedb.dll) actually *need* to
> be updated?
Whenever jurisdictions around the world change their time?
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Chris wrote:
> Seak, Teng-Fong wrote:
>> UK's timezone is GMT (+) while most other western European
>> countries like Spain, France, Germany, etc are in GMT +1000.
>
> I'm sure you mean +0100 - +10 is Australia and other places ;)
>
Oh yes, of course +0100 instead of +1000. Mistyping o
Seak, Teng-Fong wrote:
Satyam wrote:
- Original Message - From: "Chris Boget" <[EMAIL PROTECTED]>
My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
Edinburgh, Lisbon, London".
There you have why, you set it to GreenwiSh, which is kind of
Greenwich but not quite.
I th
On 3/28/07, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote:
Satyam wrote:
> - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]>
>> My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
>> Edinburgh, Lisbon, London".
>
> There you have why, you set it to GreenwiSh, which
Satyam wrote:
> - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]>
>> My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
>> Edinburgh, Lisbon, London".
>
> There you have why, you set it to GreenwiSh, which is kind of
> Greenwich but not quite.
>
> I think that be
EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Wednesday, March 28, 2007 4:35 PM
Subject: Re: [PHP] Timezone offset
On 3/28/07, Chris Boget <[EMAIL PROTECTED]> wrote:
My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
Edinburgh, Lisbon, London". But w
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
Edinburgh, Lisbon, London".
There you have why, you set it to GreenwiSh, which is kind of Greenwich but
not quite.
I think that being on the western e
On 3/28/07, Chris Boget <[EMAIL PROTECTED]> wrote:
> On 3/28/07, Chris Boget <[EMAIL PROTECTED]> wrote:
>> My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
>> Edinburgh, Lisbon, London". But when I echo out date( 'O' ), it's
>> returning
>> the offset as +0100 and not +.
On 3/28/07, Chris Boget <[EMAIL PROTECTED]> wrote:
My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
Edinburgh, Lisbon, London". But when I echo out date( 'O' ), it's
returning
the offset as +0100 and not +. Why? I would think that it should
return +. Am I wrong?
2007. 03. 28, szerda keltezéssel 10.24-kor Chris Boget ezt írta:
> My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
> Edinburgh, Lisbon, London". But when I echo out date( 'O' ), it's returning
> the offset as +0100 and not +. Why? I would think that it should
> return
On 3/28/07, Chris Boget <[EMAIL PROTECTED]> wrote:
My server's timezone is set to "(GMT) Greenwish Mean Time : Dublin,
Edinburgh, Lisbon, London". But when I echo out date( 'O' ), it's returning
the offset as +0100 and not +. Why? I would think that it should
return +. Am I wrong?
th
Mark Steudel wrote:
Hi All,
I've got a little problem where our servers are in PST but the customer
operates in Hawaii (-10 GMT). I believe I can just get the time for them by
doing something like
date("d H i", strtotime('now -2 hours') );
But here's the catch, how should I deal with day l
I've got a little problem where our servers are in PST but the
customer operates in Hawaii (-10 GMT). I believe I can just get the
time for them by doing something like
date("d H i", strtotime('now -2 hours') );
But here's the catch, how should I deal with day light savings ( DST)
. In hawaii t
ment.
>
> -Original Message-
> From: Mike Tuller [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 05, 2006 11:02 AM
> To: Mark Steudel
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Timezone and DST
>
> Are you just displaying the time, or is this for subm
Im just using it to set defaults on a QuickForm date element.
-Original Message-
From: Mike Tuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 11:02 AM
To: Mark Steudel
Cc: php-general@lists.php.net
Subject: Re: [PHP] Timezone and DST
Are you just displaying the time, or
Are you just displaying the time, or is this for submission in a
database?
On Jan 5, 2006, at 12:50 PM, Mark Steudel wrote:
Hi All,
I've got a little problem where our servers are in PST but the
customer
operates in Hawaii (-10 GMT). I believe I can just get the time for
them by
doing
I'm sure something like this has already been written and I'd
hate to redesign the wheel. I've searched google but came up
empty and am wondering if any of you guys have what I am
looking for.
I ended up writing my own. Hopefully to help anyone else out
trying to do the same thing, I've includ
Hello Manuel,
Wednesday, January 7, 2004, 5:48:27 PM, you wrote:
MVA> How does the timezone of the server affects the behavior of the functions
MVA> time and date.
Quite simply, if you don't provide date() with a timestamp then it
will use the local servers timestamp instead. This will be whatev
lto:[EMAIL PROTECTED]]
Sent: May 21, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] timezone problem
I had a similar issue, for a thing I'm doing for a
Messageboard I am writing
I need the timezones and offsets, so I compiled
the best I could off
different sites and info, and created a M
sage-
> From: Baba Buehler [mailto:[EMAIL PROTECTED]]
> Sent: May 21, 2002 5:37 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] timezone problem
>
>
> Miguel Cruz wrote:
> >
> > In short, I believe it's an OS rather than a PHP
> thing.
> >
D]
Subject: Re: [PHP] timezone problem
Miguel Cruz wrote:
>
> In short, I believe it's an OS rather than a PHP
thing.
>
time zones can be a messy and tricky beast. all
the PHP functions rely on
the underlying OS implementation of time zone
information. sometimes this
is controll
Miguel Cruz wrote:
>
> In short, I believe it's an OS rather than a PHP thing.
>
time zones can be a messy and tricky beast. all the PHP functions rely on
the underlying OS implementation of time zone information. sometimes this
is controlled by the TZ environment variable, sometimes it is
On Mon, 20 May 2002, SP wrote:
> i'm testing on a windows so not sure where the timezone info would be
> but what you are saying that if i port my app to a unix box then it
> would be easy to just add the missing timezones in /usr/share/zoneinfo,
> right? if that's the case then i could just test
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] timezone problem
I think these are system-specific. You'll probably
have to check which
time zone your machine understands. For instance,
on this FreeBSD machine
there are hundreds of them in /usr/share/zoneinfo
but on other machines
there are only
I think these are system-specific. You'll probably have to check which
time zone your machine understands. For instance, on this FreeBSD machine
there are hundreds of them in /usr/share/zoneinfo but on other machines
there are only a handful.
In short, I believe it's an OS rather than a PHP th
44 matches
Mail list logo