On Sat, May 12, 2012 at 10:19 PM, admin wrote:
>
>
> -Original Message-
> From: Matijn Woudt [mailto:tijn...@gmail.com]
> Sent: Saturday, May 12, 2012 3:54 PM
> To: admin
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Time out issue
>
> On Sat, May 12,
-Original Message-
From: Matijn Woudt [mailto:tijn...@gmail.com]
Sent: Saturday, May 12, 2012 3:54 PM
To: admin
Cc: php-general@lists.php.net
Subject: Re: [PHP] Time out issue
On Sat, May 12, 2012 at 9:42 PM, admin wrote:
> I am running Windows 2008 R2, IIS 7
>
> I am runnin
On Sat, May 12, 2012 at 9:42 PM, admin wrote:
> I am running Windows 2008 R2, IIS 7
>
> I am running into an issue where no matter what I set the script time out
> to be the server is
>
> Giving me a 500 error after like 60 seconds when the process exceeds the
> configured activity timeout.
>
>
On 1 Mar 2012, at 08:43, Robert Nilsson wrote:
> Ok, I admit -I'm lazy!
> Been asked to make a reporting tool, what and how many hours spent on
> Possible with a save option, to enable continuously adding during the week,
> before sending off by mail to manager and one self.
>
> Surely I'm not t
On Thu, Mar 1, 2012 at 10:43 AM, Robert Nilsson wrote:
> Hi,
> Ok, I admit -I'm lazy!
> Been asked to make a reporting tool, what and how many hours spent on
> Possible with a save option, to enable continuously adding during the
> week, before sending off by mail to manager and one self.
>
>
On 31/01/2012, at 2:55 PM, Ron Piggott wrote:
>
> On my clients account when I use “echo date(‘D, d M Y H:i:s');” the output is
> 5 hours ahead of us. How do I change it to my local time? Is there a way to
> specify “Eastern” time zone?
>
> I expect this would work:
>
> echo date(‘D, d M Y
On Wed, 29 Jun 2011, Brian Dunning wrote:
Thanks everyone. It seems to be working correctly. You gave me some
extra peace of mind. I did set the
date_default_timezone_set('America/Los_Angeles') but it looks like that
was in the defaults anyway. :-)
It probably is if this is where your site
Thanks everyone. It seems to be working correctly. You gave me some extra peace
of mind. I did set the date_default_timezone_set('America/Los_Angeles') but it
looks like that was in the defaults anyway. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On Wed, 29 Jun 2011, Richard Quadling wrote:
And UTC is not the same as GMT. Ish.
GMT is only valid for 6 months of the year. Then, due to DST, it becomes BST.
UTC is just UTC.
This is incorrect. For all practical purposes, GMT and UTC are the same.
The fact that the time in Greenwich is n
On 29 Jun 2011 at 17:25, Richard Quadling wrote:
> And UTC is not the same as GMT. Ish.
Yes it is.
> GMT is only valid for 6 months of the year. Then, due to DST, it becomes BST.
No, the UK is on GMT for 5 months a year and then on BST (GMT+1) for 7 months.
--
Cheers -- Tim
--
PHP Gener
On Wed, 29 Jun 2011, Brian Dunning wrote:
$start = gmdate('Y-m-d\TH:i:s.00\Z', strtotime("yesterday 00:00:00"));
$end = gmdate('Y-m-d\TH:i:s.00\Z', strtotime("yesterday 23:59:59"));
I think this is right, since it's 7 hours off California time, but I
just need someone to double check my spinn
On 29 June 2011 17:09, Brian Dunning wrote:
> Help. I'm using PayPal's API to get a report of all the yesterday's
> transactions. I'm in California, and I define "yesterday" as California's
> yesterday, midnight to midnight.
>
> PayPal wants the STARTDATE and ENDDATE provided in UTC/GMT. I'm bui
On Tue, Nov 2, 2010 at 11:37 AM, Nathan Nobbe wrote:
> dude at this point i dont want to sound too much like a troll, but php 5.1
> is some really old software. frankly this is why i chose not to run on
> centos during my evaluation of it. i understand the concept behind running
> proven stable
On Tue, Nov 2, 2010 at 10:37 AM, Nathan Nobbe wrote:
> dude at this point i dont want to sound too much like a troll, but php 5.1
> is some really old software. frankly this is why i chose not to run on
> centos during my evaluation of it. i understand the concept behind running
> proven stable
On Tue, Nov 2, 2010 at 10:11 AM, Dan Yost wrote:
> On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe
> wrote:
> >> >>
> >> >> So now I suppose the thread becomes: how do I get a valid US/Central
> >> >> (America/Chicago) timezone in PHP5?
> >> >
> >> > give the timezonedb extension a shot
> >> > htt
On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe wrote:
>> >>
>> >> So now I suppose the thread becomes: how do I get a valid US/Central
>> >> (America/Chicago) timezone in PHP5?
>> >
>> > give the timezonedb extension a shot
>> > http://pecl.php.net/package/timezonedb
>>
>>
>> Tried it, no change. I
On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost wrote:
> On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe
> wrote:
> > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote:
> >>
> >> So now I suppose the thread becomes: how do I get a valid US/Central
> >> (America/Chicago) timezone in PHP5?
> >
> > give the ti
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe wrote:
> On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote:
>>
>> So now I suppose the thread becomes: how do I get a valid US/Central
>> (America/Chicago) timezone in PHP5?
>
> give the timezonedb extension a shot
> http://pecl.php.net/package/timezonedb
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote:
>
>
> So now I suppose the thread becomes: how do I get a valid US/Central
> (America/Chicago) timezone in PHP5?
>
give the timezonedb extension a shot
http://pecl.php.net/package/timezonedb
-nathan
On Tue, Nov 2, 2010 at 12:29 AM, Nathan Nobbe wrote:
> a few thoughts,
> 1. set error_reporting to E_ALL to see if the engine is trying to tell you
> something you may be overlooking
Sorry, failed to mention that I did this, and it says nothing.
> 2. for grins, maybe see if the TZ environment
On Mon, Nov 1, 2010 at 12:54 PM, Dan Yost wrote:
> Greetings,
>
> I've looked through a number of different archived threads (some
> rather heated) and samples as well, but clearly I'm just missing
> something.
>
> PHP 5.1.6
> CentOS release 5.5 (Final)
>
> My server is in Central Time (US). We d
At 10:07 AM +0200 10/6/09, Matthias Laug wrote:
argh, why do I always stick to the stupid questions :( sorry
Because with the important questions, you don't need answers. You
understand them.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
On 10/6/09 4:16 AM, "Mert Oztekin" wrote:
> My mistake,
>
> I thought it was date() now strftime()
> Sorry
>
> (why do php developers create two different standarts for such similiar
> functions???☺ )
>
it's traditional to do so. it reminds me of the bit about subtly
incompatible shells in un
m.tr]
Sent: 06 October 2009 09:07
To: 'Jason'; 'Matthias Laug'; php-general@lists.php.net
Subject: RE: [PHP] Time Problem: always ten past xx
Jason,
%M is also month:
Month --- ---
F A full textual representation of a month, such as January or March January
through December
g'; php-general@lists.php.net
Subject: RE: [PHP] Time Problem: always ten past xx
Jason,
%M is also month:
Month --- ---
F A full textual representation of a month, such as January or March January
through December
m Numeric representation of a month, with leading zeros 01 through
, October 06, 2009 11:04 AM
To: 'Matthias Laug'; php-general@lists.php.net
Subject: RE: [PHP] Time Problem: always ten past xx
Hi,
That's because %m is month, what you need is %M for minute (note uppercase).
Check out http://php.net/strftime
HTH
J
-Original Message-
From
argh, why do I always stick to the stupid questions :( sorry
Am 06.10.2009 um 10:03 schrieb Mert Oztekin:
You also write the answer
var_dump(strftime("%d.%m.%Y %H:%m",$time));
there are 2 %m you see? %m is month :)
for minute use %i
-Original Message-
From: Matthias Laug [mailto:m
You also write the answer
var_dump(strftime("%d.%m.%Y %H:%m",$time));
there are 2 %m you see? %m is month :)
for minute use %i
-Original Message-
From: Matthias Laug [mailto:matthias.l...@gmail.com]
Sent: Tuesday, October 06, 2009 10:53 AM
To: php-general@lists.php.net
Subject: [PHP]
Hi,
That's because %m is month, what you need is %M for minute (note uppercase).
Check out http://php.net/strftime
HTH
J
-Original Message-
From: Matthias Laug [mailto:matthias.l...@gmail.com]
Sent: 06 October 2009 08:53
To: php-general@lists.php.net
Subject: [PHP] Time Problem: alway
Shawn McKenzie wrote:
> So, obviously not PHP related, but I'm looking for thoughts on the best
> way to record time sheets in a DB. A time sheet for hours worked per
> day, not like a time clock where you start and stop.
>
> The two possibilities that I have thought of are (these are sim
You don't mention what DB you're using, but mySQL can be quite a pain when
dealing with multiple time zones. Not impossible, but a hassle none the
less. Be sure to set aside a place to store this (and another spot for user
preferences to keep track of their TZ).
Jerry Wilborn
jerrywilb...@gmail.com
On Wed, 2009-08-05 at 14:18 -0500, Shawn McKenzie wrote:
> So, obviously not PHP related, but I'm looking for thoughts on the best
> way to record time sheets in a DB. A time sheet for hours worked per
> day, not like a time clock where you start and stop.
>
> The two possibilities that I have th
On Sun, 07 Jun 2009 13:04:20 +0200, p...@computer.org (Per Jessen) wrote:
>Clancy wrote:
>
>> I have a recursive procedure, and I set the time limit each time I
>> enter it:
>>
>> function rec_scan($directory, ..)
>> {
>> set_time_limit (1);
>>
>> if (is_dir($new_file))
>> {
>> rec_scan ($ne
Clancy wrote:
> I have a recursive procedure, and I set the time limit each time I
> enter it:
>
> function rec_scan($directory, ..)
> {
> set_time_limit (1);
>
> if (is_dir($new_file))
> {
> rec_scan ($new_file, )
> }
>
> }
>
>
> The way I read the manual, the timer should be reset e
On Mon, Apr 20, 2009 at 1:38 PM, wrote:
> Suggestion on faster solutions for extremely large database.
>
> $ledip['started'] = '2009-04-01 13:40:34'; Example time in DB
> $ledip['touchedlast'] = '2009-04-01 13:41:28'; Example time in DB
>
>
> date('i:s', strtotime($ledip['touchedlast']) -
> strto
On Mon, Mar 30, 2009 at 3:35 PM, Shawn McKenzie wrote:
> Andrew Williams wrote:
>> what does time();
>>
>> $t1 = time();
>>
>> {
>>
>> do something
>> }
>> $t2 = time();
>>
>> $end_time = $t2 - $t1;
>> echo $end_time;
>>
>> what does $end_time represent?
>>
>> how do you determine the next 5 mins?
Andrew Williams wrote:
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
>
> how do you determine the next 5 mins?
So if you haven't deduced the answer from other replies, this woul
On Mon, Mar 30, 2009 at 1:51 PM, Igor Escobar wrote:
> Okey, but you understand the purpouse of it?
>
> On Mon, Mar 30, 2009 at 3:42 PM, haliphax wrote:
>>
>> On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar
>> wrote:
>> > The people use that to measure performance.
>> >
>> > If you're intersted a
Okey, but you understand the purpouse of it?
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Mon, Mar 30, 2009 at 3:42 PM, haliphax wrote:
> On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar
> wrote:
> > The people use that to measure performance.
> >
> > If you're
On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar wrote:
> The people use that to measure performance.
>
> If you're intersted about that read
> http://www.igorescobar.com/blog/2009/03/05/benchmarking-de-desempenho-no-php/
> (in portuguese, sorry)
>
> Regards,
> Igor Escobar
>
> On Mon, Mar 30, 2009
On Mon, Mar 30, 2009 at 12:05 PM, haliphax wrote:
> On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote:
> >> When someone does that, it means the execution time between $t1 and
> $t2...
> >
> > Is that for my benefit? Believe it or not, I do know the arcane art of
> > subtraction...
>
> I wou
On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote:
>> When someone does that, it means the execution time between $t1 and $t2...
>
> Is that for my benefit? Believe it or not, I do know the arcane art of
> subtraction...
I would subtract more often, but sacrificial farm animals and black
cand
> When someone does that, it means the execution time between $t1 and $t2...
Is that for my benefit? Believe it or not, I do know the arcane art of
subtraction...
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.net (Updated March 14th)
--
PHP Ge
When someone does that, it means the execution time between $t1 and $t2...
Att,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Mon, Mar 30, 2009 at 7:38 AM, Richard Heyes wrote:
> 2009/3/30 Andrew Williams :
> > what does time();
> >
> > $t1 = time();
> >
> > {
>
2009/3/30 Andrew Williams :
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
$end_time is not a great name for it: it's the time (number of
seconds) it took to go from $t1 to $t2. $durat
2009/3/30 Andrew Williams :
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
The number of seconds it took to "do something".
> how do you determine the next 5 mins?
Assuming you mean
Thanks for all the replies, I was able to set the time zone with one of the
tutorials.
Thanks again
Gary
"Nathan Rixham" wrote in message
news:49779f04.4060...@gmail.com...
> Edmund Hertle wrote:
>> 2009/1/21 Gary
>>
>>> Im pretty new with php, so this might be a pretty novice mistake, but
>
Edmund Hertle wrote:
2009/1/21 Gary
Im pretty new with php, so this might be a pretty novice mistake, but the
time displays wrong on two computers.
Shows up 2 hours late...time on both computers is correct.
Thanks
Do you mean on two computers visiting a php script? PHP is running on th
2009/1/21 Gary
> Im pretty new with php, so this might be a pretty novice mistake, but the
> time displays wrong on two computers.
>
>
>
> Shows up 2 hours late...time on both computers is correct.
>
> Thanks
>
>
Do you mean on two computers visiting a php script? PHP is running on the
server,
Thank you, I will try that out.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Mon, 2008-09-29 at 17:01 -0400, MDB wrote:
Hello All, I am trying to figure out how to loop through 2 given times.
I
have a start time and a end time and want to look through every
MDB wrote:
> Hello All, I am trying to figure out how to loop through 2 given times.
> I have a start time and a end time and want to look through every X mins
> and add a radio button. Below is my latest try, can someone please help
> me out?
>
>
> $endTime = "17:00:00";
> $currentTi
On Mon, 2008-09-29 at 17:01 -0400, MDB wrote:
> Hello All, I am trying to figure out how to loop through 2 given times. I
> have a start time and a end time and want to look through every X mins and
> add a radio button. Below is my latest try, can someone please help me out?
>
>
> $end
The date_format function of MySQL should work for time as well...
What are the errors?
What did you use for the time format?
On Sat, July 14, 2007 8:27 am, Melissa wrote:
> I have a DB
>
> with a field type DATE (called TideDATE)
>
> and a field type TIME (one of which is called highFIRST)
>
>
>
Melissa W. Dickens
[EMAIL PROTECTED]
770-667-8933
843-838-7388
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 12:50 PM
To: Melissa W. Dickens
Hmm...
Another reason to upgrade!
We are running version 4 something or other!
--
PHP Gener
Melissa W. Dickens wrote:
Thank you VERY much Jay, Chris and Gary!
I tried the php code to change it and that worked Great, as Chris suggested
I am about to see how it flies with changing the SQL DB directly as Gary
suggested.
I might even just ADD a new DB field for the new format...
The mkt
Thank you VERY much Jay, Chris and Gary!
I tried the php code to change it and that worked Great, as Chris suggested
I am about to see how it flies with changing the SQL DB directly as Gary
suggested.
I might even just ADD a new DB field for the new format...
The mktime function looks VERY inte
Melissa wrote:
I have a DB
with a field type DATE (called TideDATE)
and a field type TIME (one of which is called highFIRST)
How can I format the time fields from displaying 00:00:00 (a 24 hour clock)
to HH:MM am/pm format?
The DATE function has all kinds of neat formatters, but I do no
Melissa wrote:
I have a DB
with a field type DATE (called TideDATE)
and a field type TIME (one of which is called highFIRST)
How can I format the time fields from displaying 00:00:00 (a 24 hour clock)
to HH:MM am/pm format?
$time = '13:05:00';
list($hr, $min, $sec) = explode(':', $time);
Thank you, Jay, that is interesting.
I am looking for the am / pm denomination, which I do not see in mktime()
I am essentially trying to have the TIME type which is a 24 hour clock
display instead as a 12 hour clock with am and pm.
I AM A TOTAL NEWBIE, (2ND DAY ever) so if I misunderstood the
[snip]
I have a DB
with a field type DATE (called TideDATE)
and a field type TIME (one of which is called highFIRST)
How can I format the time fields from displaying 00:00:00 (a 24 hour
clock)
to HH:MM am/pm format?
[/snip]
Have a look at http://www.php.net/mktime
--
PHP General Mailing Lis
At 8:11 PM +0100 3/19/07, Alain Roger wrote:
Hi,
I've already seen some webpages which include a time or date picker (like a
calendar) written in PHP and on which user could type the year and after,
select the month and date (using month).
I'm looking for something like that.
Where can i find o
On Mon, March 19, 2007 2:11 pm, Alain Roger wrote:
> I've already seen some webpages which include a time or date picker
> (like a
> calendar) written in PHP and on which user could type the year and
> after,
> select the month and date (using month).
> I'm looking for something like that.
>
> Wher
On 3/19/07, Alain Roger <[EMAIL PROTECTED]> wrote:
Hi,
I've already seen some webpages which include a time or date picker (like a
calendar) written in PHP and on which user could type the year and after,
select the month and date (using month).
I'm looking for something like that.
Where can i
On Mon, January 29, 2007 10:55 pm, Jay Blanchard wrote:
> [snip]
> I am writing a program for managing leads and contacts. I would like
> to
> add
> the ability to see what TIME it is where the contact is not there
> server
> time. So if you looked at a list of contacts from all over the country
>
# [EMAIL PROTECTED] / 2007-01-30 16:52:02 -:
> BTW, you'll need to use a float since there are some non-integer timezone
> differences.
No need to lose information. Just store the offset in minutes, problem solved.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't kn
> [snip]
>
> I am writing a program for managing leads and contacts. I would like to
> add
> the ability to see what TIME it is where the contact is not there server
> time.
>
> [/snip]
>
I have implemented this feature in our home-grown CRM system. I used the
list of timezones on Wikipedia as a
[snip]
I am writing a program for managing leads and contacts. I would like to
add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country
you
would see different times compared to what time it is where the use
ginal Message-
> From: Richard Kurth [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 30, 2007 12:12 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] time
>
> [snip]
> I am writing a program for managing leads and contacts. I
> would like to add
> the ability to see
Richard Kurth wrote:
[snip]
I am writing a program for managing leads and contacts. I would like to add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country you
would see different times compared to what ti
[snip]
I am writing a program for managing leads and contacts. I would like to add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country you
would see different times compared to what time it is where the user
test
Jay Blanchard :
[snip]
I am writing a program for managing leads and contacts. I would like to
add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country
you
would see different times compared to what ti
[snip]
I am writing a program for managing leads and contacts. I would like to
add
the ability to see what TIME it is where the contact is not there server
time. So if you looked at a list of contacts from all over the country
you
would see different times compared to what time it is where the user
On 11/9/06, M.Sokolewicz <[EMAIL PROTECTED]> wrote:
David Giragosian wrote:
> On 11/8/06, Travis Doherty <[EMAIL PROTECTED]> wrote:
>>
>> David Giragosian wrote:
>>
>> > Does Daylight Savings alter Zulu time? (I'm guessing "yes"). How did
>> the
>> > military deal with that?
>> >
>> > I use a da
David Giragosian wrote:
On 11/8/06, Travis Doherty <[EMAIL PROTECTED]> wrote:
David Giragosian wrote:
> Does Daylight Savings alter Zulu time? (I'm guessing "yes"). How did
the
> military deal with that?
>
> I use a date-time field as a primary key in db tables that get an
> insert a
> minut
On 11/8/06, Travis Doherty <[EMAIL PROTECTED]> wrote:
David Giragosian wrote:
> Does Daylight Savings alter Zulu time? (I'm guessing "yes"). How did the
> military deal with that?
>
> I use a date-time field as a primary key in db tables that get an
> insert a
> minute. I had to jump through a
David Giragosian wrote:
> Does Daylight Savings alter Zulu time? (I'm guessing "yes"). How did the
> military deal with that?
>
> I use a date-time field as a primary key in db tables that get an
> insert a
> minute. I had to jump through a number of hoops to turn off DST on the
> (RH
> Linux) ser
At 9:01 AM -0600 11/8/06, David Giragosian wrote:
tedd,
Does Daylight Savings alter Zulu time? (I'm guessing "yes"). How did the
military deal with that?
LOL -- do you think that the military gives a hoot about daylight
savings time? That's one of those civilian things. In military time,
Oh
On 11/8/06, tedd <[EMAIL PROTECTED]> wrote:
At 12:48 AM -0500 11/8/06, Travis Doherty wrote:
>This can be a big problem to some apps, and others might be fine with
>the workaround like we've done where you loose a tiny bit of data (It's
>08:00 on the day after the timechange, is this ticket from
At 12:48 AM -0500 11/8/06, Travis Doherty wrote:
This can be a big problem to some apps, and others might be fine with
the workaround like we've done where you loose a tiny bit of data (It's
08:00 on the day after the timechange, is this ticket from 01:30:00 6.5
or 7.5 hours old? who cares.. jus
Richard Lynch wrote:
>What is the least-stupid way to fix this, and get 20:00 in the
>Portland OR server to turn into:
>Mon, 03 Apr 2006 20:00:00 CDT
>which is what time it really was.
>
>E. Without changing the schema which means having to re-do
>everything else in the application. That's p
At 11:10 AM 2/1/2006, Mark Steudel wrote:
I am interested in finding out what standards/formulas other PHP
programmers/departments out there are using to accurately provide time
estimates on modules to their PM's/Clients.
Any suggested reading books or sites?
Highly recommended:
Web Redesign
Jay Blanchard wrote:
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
add ORDER BY `yourdatefield` DESC to your SQL
(ii) be able to extract the individual parts of the date and display
them in
UK format
Have no i
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
(ii) be able to extract the individual parts of the date and display
them in
UK format
30.08.2005 this is the text from 30th of August
27.08.2005 this is the text from
On 29 Jul 2005, at 08:37, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
I have the date when users registered stored in the database using
time() function format.
Hm. I hope this means you're storing it as a TimeStamp format, or
better, DateTime, and not as a simple integer field.
I ha
I'd like to generate a list of time zones (EST, CDT, whatever) for a popup.
Seems like it should be easy...
This is so the Sales guy can just plug in the time and zone of who he's
gotta call back, and I stuff that in the database, and he gets a morning
report of who to call.
$z\n";
}
?>
What
On 7/13/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I'd like to generate a list of time zones (EST, CDT, whatever) for a popup.
>
> Seems like it should be easy...
>
> This is so the Sales guy can just plug in the time and zone of who he's
> gotta call back, and I stuff that in the database, a
On Wed, 13 Oct 2004 10:31:54 -0400, Jerry Swanson <[EMAIL PROTECTED]> wrote:
> I want to send email every 24. What time format you recomend to use?
> In what format the data should be store in mysql?
Your question is more appropriate for php-db or a MySQL list serv.
I'm not sure why you need to s
On Wed, 2004-10-13 at 10:31 -0400, Jerry Swanson wrote:
> I want to send email every 24. What time format you recomend to use?
> In what format the data should be store in mysql?
>
> TH
>
every 24? hours? minutes?
Are you going to be running a script all the time to do this?
You might want to
Karam Chand wrote:
Darn missed it. Looking into the docs I am using code
somthing like this:
If you are really keen about chaning +1 to ++ and double quotes to
single quotes in the hope of shaving off a few milliseconds in execution
time you might want to try something like xdebug.
--
Radith
Darn missed it. Looking into the docs I am using code
somthing like this:
$start = microtime();
$result = mysql_query ( $query, $mysql );
$end = microtime();
$diff = microtime_diff ($start, $end);
function microtimdiff() is given by:
function microtime_
Karam Chand wrote:
In Win32 API to profile a job we use the following
method:
timetaken = GetTickCount();
/* do some job */
timetaken = GetTickCount() - timetaken;
In this way timetaken returns you the time taken by
the job to complete?
How can I get it in PHP. I want the exact figure in
ms? I u
select sum(mytime) from table...
not sure if it will work but try it!
angelo
-Original Message-
From: Matthew Oatham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 1:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] time function
Hi,
I have a TIME field type in mysql database I wan
Matthew Oatham wrote:
Hi,
I have a TIME field type in mysql database I want to do a select and add all the times together to return a total time, can I do this using the select statement?
cheers
This is a PHP list, not MySQL.
http://www.mysql.com/doc/en/DATETIME.html
--
PHP General Mailing List
Take a look at sleep()
http://www.php.net/sleep
It delays execution by a user specified number of seconds.
Jason
-Original Message-
From: Scott Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 9:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] time delay function?
I am wonde
Hello Scott,
Wednesday, March 10, 2004, 4:12:29 AM, you wrote:
ST> I am wondering if there is a time delay function, one that will cause
ST> the program to be inactive for a number of seconds (something like
ST> delay(10) ). I am doing this because I am setting up a mass mailing
ST> program (th
]
Sent: 25 November 2003 13:13
To: 'Fernando Melo'; [EMAIL PROTECTED]
Subject: RE: [PHP] Time
Fernando Melo wrote:
> Hi there,
>
> I have a RH Linux Web server running apache and PHP.
>
> I recently changed the system clock, the time zone and hardware clock.
> The
I have done all those checks. Thanks for trying though.
Anyone else have any suggestions please? :(
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 25 November 2003 16:06
To: [EMAIL PROTECTED]
Subject: AW: [PHP] Time
Hi Fernando,
first try "date" and "date -u"
Fernando Melo wrote:
> Hi there,
>
> I have a RH Linux Web server running apache and PHP.
>
> I recently changed the system clock, the time zone and hardware clock.
> The time and date are showing up correctly in Webmin and in
> the O/S itself.
> But when I call a php function to display the dat
Diana Castillo wrote:
Is there anyway to set a time out on this command:
mysql_connect($host, $UN, $PW);
so that if it can´t connect after a certain amount of time, it returns an
error and the program continues?
ini_set('mysql.connect_timeout', ... );
--
PHP General Mailing List (http://www.php.n
Erin wrote:
Hi All,
Sorry if this has been asked a 1000 times and if its easy to find in the
php manual but i cant seam to solve this.
How do i convert a timestamp in to a normal readable time & date ie
2003155023
into
11th November 2003 @ 15:50:23
IFF the "timestamp" is coming from MyS
1 - 100 of 189 matches
Mail list logo