Bruno B B Magalhães wrote:
> Hi you all,
>
> How do you work with GMT time-zones? I mean, I´ve developed a support
> system, with projects, bugs, tasks, etc... but as I user date()ç,I is 6
> hours late from my client´s time-zone...
>
> And I would like to make it a little more dynamic than just put
he time, then
do a correct offset for it.
But for something already done, see
http://us3.php.net/manual/en/function.gmdate.php
Travis
- Original Message - From: "Bruno B B Magalhães"
<[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 04, 2005 5:04 AM
Subject: [PHP] GMT
Hi yo
.php.net/manual/en/function.gmdate.php
Travis
- Original Message -
From: "Bruno B B Magalhães" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 04, 2005 5:04 AM
Subject: [PHP] GMT
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, wit
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, with projects, bugs, tasks, etc... but as I user date()ç,I is 6
hours late from my client´s time-zone...
And I would like to make it a little more dynamic than just put a
variable in the code and add to th
// I am using the convention (assumption) of "07/04/2004 14:45"
$processdate = "07/04/2004 14:45";
// gmttolocal is a function
// i am passing it 2 parameters:
// 1)the date in the above format and
// 2)time difference as a number; -5 in our case (G
Hello,
you can use gmdate()
http://ch2.php.net/gmdate
regards
Sascha
Hassan Shaikh wrote:
Hi,
My hosting provider is located somewhere in Houston, TX (EV1). I am using PHP and MySQL and need to store all dates/time in GMT (considering DST also). Appreciate any help!
Once the date/time is in G
Hi,
My hosting provider is located somewhere in Houston, TX (EV1). I am using PHP and
MySQL and need to store all dates/time in GMT (considering DST also). Appreciate any
help!
Once the date/time is in GMT, it would be easier for me to display the date base on
user preference (time zone differ
> -Original Message-
> From: Stuart Cochrane [mailto:[EMAIL PROTECTED]
> Sent: 31 March 2003 15:45
>
> I have a script that runs on over 250 Servers, all are running NT4.
> here is the script:
>
> [php]
> function last_sunday() {
> return gmdate("Y-m-d", strtotime("Last Sunday"));
>
Im having big problems -
I have a script that runs on over 250 Servers, all are running NT4.
here is the script:
[php]
function last_sunday() {
return gmdate("Y-m-d", strtotime("Last Sunday"));
}
echo "Last Sunday is returned as: ".last_sunday();
[/php]
Some servers have 'automatically a
On Friday, April 19, 2002, at 01:23 PM, Richard Fox wrote:
> I want to compare a timestamp(14) field in a MySQL table with the
> current
> time. Currently I use the following pseudo-sql:
>
> select field from table where table.time < date("YmdHis", time())
>
> only, the table timestamp is GMT
On Friday, April 19, 2002, at 01:23 PM, Richard Fox wrote:
> I want to compare a timestamp(14) field in a MySQL table with the
> current
> time. Currently I use the following pseudo-sql:
>
> select field from table where table.time < date("YmdHis", time())
>
> only, the table timestamp is GMT
Ok, I give up.
I want to compare a timestamp(14) field in a MySQL table with the current
time. Currently I use the following pseudo-sql:
select field from table where table.time < date("YmdHis", time())
only, the table timestamp is GMT time and the time function is returning
local time. How do
-
From: "Richard KS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 11:14 PM
Subject: Re: [PHP] GMT / TimeZone modifications
> Thanks for the quick answer!
> Perhaps you have a smaller code snippet for this?
>
> NOTE It wouldn
Thanks for the quick answer!
Perhaps you have a smaller code snippet for this?
NOTE It wouldn't mind if the entire website would go after one timezone, in
this case from GMT+8 to GMT+1.
--
Richard,
oblivion creations
http://oblivion.lunamorena.net
[EMAIL PROTECTED]
+46 (0) 736 849 531 f
setenv() the appropriate timezone, then use strtotime() or mktime() to
create a timestamp. Then setenv() to the other timezone and use date() or
strftime() to convert back into a legible format.
-Rasmus
On Thu, 11 Apr 2002, Richard KS wrote:
> Greetings.
>
> I was wondering if there are any go
Greetings.
I was wondering if there are any good ways of converting a date into another
time zone? For instance, from GMT+8 to GMT+1, is this possible in some way?
Like if I have a date written 09.04.2002 14:11, I would like to format it
into GMT+1.. Any solutions?
Thanks alot
--
Richard,
ob
What's a good method for setting time in GMT? as in the expiration date for
cookies? I saw two functions to do this with, but I haven't been able to get
them to output anything properly.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
--
17 matches
Mail list logo