Re: [PHP] Time out issue

2012-05-12 Thread Matijn Woudt
On Sat, May 12, 2012 at 9:42 PM, admin ad...@buskirkgraphics.com 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

RE: [PHP] Time out issue

2012-05-12 Thread admin
-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 ad...@buskirkgraphics.com wrote: I am running Windows 2008 R2, IIS 7

Re: [PHP] Time out issue

2012-05-12 Thread Matijn Woudt
On Sat, May 12, 2012 at 10:19 PM, admin ad...@buskirkgraphics.com 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, 2012 at 9:42 PM

Re: [PHP] time/task reporting

2012-03-01 Thread Fatih P.
On Thu, Mar 1, 2012 at 10:43 AM, Robert Nilsson rob...@myself.com 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

Re: [PHP] time/task reporting

2012-03-01 Thread Stuart Dallas
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 the

Re: [PHP] Time zone in date function

2012-01-30 Thread Simon J Welsh
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 H:i:s'

Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Richard Quadling
On 29 June 2011 17:09, Brian Dunning br...@briandunning.com 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

Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Geoff Shang
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 spinning

Re: Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Tim Streater
On 29 Jun 2011 at 17:25, Richard Quadling rquadl...@gmail.com 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 --

Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Geoff Shang
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

Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Brian Dunning
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:

Re: [PHP] Time zones are spinning my brain

2011-06-29 Thread Geoff Shang
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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 12:29 AM, Nathan Nobbe quickshif...@gmail.com 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost yod...@gmail.com wrote: On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe quickshif...@gmail.com wrote: On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost yod...@gmail.com wrote: So now I suppose the thread becomes: how do I get a valid US/Central

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe quickshif...@gmail.com 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. It is

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:11 AM, Dan Yost yod...@gmail.com wrote: On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe quickshif...@gmail.com 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:37 AM, Nathan Nobbe quickshif...@gmail.comwrote: 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:37 AM, Nathan Nobbe quickshif...@gmail.com 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

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 12:54 PM, Dan Yost yod...@gmail.com 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

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
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:

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread 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:matthias.l...@gmail.com] Sent: Tuesday, October 06, 2009 10:53 AM To: php-general@lists.php.net Subject: [PHP]

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Matthias Laug
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

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Mert Oztekin
, 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: Matthias Laug

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Mert Oztekin
@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 12 M A short textual

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
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 m Numeric representation of a month

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Tom Worster
On 10/6/09 4:16 AM, Mert Oztekin mozte...@anadolusigorta.com.tr 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

Re: [PHP] Time Problem: always ten past xx

2009-10-06 Thread tedd
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

Re: [PHP] Time keeping in DB

2009-08-05 Thread Ashley Sheridan
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

Re: [PHP] Time keeping in DB

2009-08-05 Thread Jerry Wilborn
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

Re: [PHP] Time keeping in DB

2009-08-05 Thread Wolf
Shawn McKenzie nos...@mckenzies.net 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

Re: [PHP] Time limit on recursive procedure?

2009-06-07 Thread Per Jessen
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 each time I call

Re: [PHP] Time limit on recursive procedure?

2009-06-07 Thread Clancy
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 ($new_file, ) } }

Re: [PHP] Time difference desired load

2009-04-20 Thread Bastien Koert
On Mon, Apr 20, 2009 at 1:38 PM, ad...@buskirkgraphics.com 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',

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Stuart
2009/3/30 Andrew Williams andrew4willi...@gmail.com: 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

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Richard Heyes
2009/3/30 Andrew Williams andrew4willi...@gmail.com: 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

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Igor Escobar
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 rich...@php.net wrote: 2009/3/30 Andrew Williams andrew4willi...@gmail.com: what does

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Richard Heyes
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

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes rich...@php.net 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

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Bastien Koert
On Mon, Mar 30, 2009 at 12:05 PM, haliphax halip...@gmail.com wrote: On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes rich...@php.net 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

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar titiolin...@gmail.com 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,

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Igor Escobar
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 halip...@gmail.com wrote: On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar titiolin...@gmail.com wrote: The people use that to

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 1:51 PM, Igor Escobar titiolin...@gmail.com wrote: Okey, but you understand the purpouse of it? On Mon, Mar 30, 2009 at 3:42 PM, haliphax halip...@gmail.com wrote: On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar titiolin...@gmail.com wrote: The people use that to

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread Shawn McKenzie
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 would probably be

Re: [PHP] time() TIMER in seconds or just numbers

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 3:35 PM, Shawn McKenzie nos...@mckenzies.net 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? So if you

Re: [PHP] Time Wrong

2009-01-21 Thread Edmund Hertle
2009/1/21 Gary gwp...@ptd.net Im pretty new with php, so this might be a pretty novice mistake, but the time displays wrong on two computers. ?php echo date('l F jS, o h i A');? Shows up 2 hours late...time on both computers is correct. Thanks Do you mean on two computers visiting a

Re: [PHP] Time Wrong

2009-01-21 Thread Nathan Rixham
Edmund Hertle wrote: 2009/1/21 Gary gwp...@ptd.net Im pretty new with php, so this might be a pretty novice mistake, but the time displays wrong on two computers. ?php echo date('l F jS, o h i A');? Shows up 2 hours late...time on both computers is correct. Thanks Do you mean on two

Re: [PHP] Time Wrong

2009-01-21 Thread Gary
Thanks for all the replies, I was able to set the time zone with one of the tutorials. Thanks again Gary Nathan Rixham nrix...@gmail.com wrote in message news:49779f04.4060...@gmail.com... Edmund Hertle wrote: 2009/1/21 Gary gwp...@ptd.net Im pretty new with php, so this might be a pretty

Re: [PHP] Time Loop

2008-09-30 Thread Jim Lucas
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;

Re: [PHP] Time Loop

2008-09-30 Thread MDB
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 X

Re: [PHP] Time Loop

2008-09-29 Thread Robert Cummings
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? $endTime

Re: [PHP] Time formatting issues

2007-07-17 Thread Richard Lynch
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) How

Re: [PHP] Time formatting issues

2007-07-16 Thread Chris
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);

Re: [PHP] Time formatting issues

2007-07-16 Thread [EMAIL PROTECTED]
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

RE: [PHP] Time formatting issues

2007-07-16 Thread Melissa W. Dickens
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

Re: [PHP] Time formatting issues

2007-07-16 Thread [EMAIL PROTECTED]
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

RE: [PHP] Time formatting issues

2007-07-16 Thread Melissa W. Dickens
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

RE: [PHP] Time formatting issues

2007-07-14 Thread Jay Blanchard
[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

RE: [PHP] Time formatting issues

2007-07-14 Thread Melissa W. Dickens
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

Re: [PHP] time or date picker ?

2007-03-20 Thread tedd
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

Re: [PHP] time or date picker ?

2007-03-19 Thread Tijnema !
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

Re: [PHP] time or date picker ?

2007-03-19 Thread Richard Lynch
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. Where can i

RE: [PHP] time

2007-01-31 Thread Richard Lynch
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 you

Re: [PHP] time

2007-01-30 Thread Jim Lucas
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

RE: [PHP] time

2007-01-30 Thread Bob Dusek
: 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 what TIME it is where the contact

RE: [PHP] time

2007-01-30 Thread 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 time it is where the

RE: [PHP] time

2007-01-30 Thread Edward Kay
[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 starting

Re: [PHP] time

2007-01-30 Thread Roman Neuhauser
# [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

RE: [PHP] time

2007-01-29 Thread 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 time it is where the

Re: [PHP] time

2007-01-29 Thread tom
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

RE: [PHP] time

2007-01-29 Thread Richard Kurth
[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

Re: [PHP] Time-Zone juggling

2006-11-09 Thread David Giragosian
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 number of

Re: [PHP] Time-Zone juggling

2006-11-09 Thread M.Sokolewicz
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 minute. I had

Re: [PHP] Time-Zone juggling

2006-11-09 Thread David Giragosian
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 date-time field as a primary

Re: [PHP] Time-Zone juggling

2006-11-08 Thread tedd
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..

Re: [PHP] Time-Zone juggling

2006-11-08 Thread David Giragosian
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

Re: [PHP] Time-Zone juggling

2006-11-08 Thread tedd
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

Re: [PHP] Time-Zone juggling

2006-11-08 Thread Travis Doherty
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) server.

Re: [PHP] Time-Zone juggling

2006-11-07 Thread Travis Doherty
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

Re: [PHP] Time estimating for PM's/Clients

2006-02-01 Thread Paul Novitski
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

RE: [PHP] time and timestamp

2005-08-30 Thread Jay Blanchard
[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

Re: [PHP] time and timestamp

2005-08-30 Thread Burhan Khalid
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

Re: [PHP] time()

2005-07-29 Thread Marcus Bointon
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 have

Re: [PHP] Time Zone names

2005-07-13 Thread Dotan Cohen
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, and he

Re: [PHP] Time Zone names

2005-07-13 Thread Philip Hallstrom
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. ?php for ($offset

Re: [PHP] time

2004-10-13 Thread Robby Russell
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

Re: [PHP] time

2004-10-13 Thread Greg Donald
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

Re: [PHP] Time consumed in microseconds

2004-08-31 Thread Karam Chand
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

Re: [PHP] Time consumed in microseconds

2004-08-31 Thread raditha dissanayake
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. --

Re: [PHP] Time consumed in microseconds

2004-08-30 Thread John Holmes
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

Re: [PHP] time function

2004-03-25 Thread Burhan Khalid
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

RE: [PHP] time function

2004-03-25 Thread Angelo Zanetti
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

Re: [PHP] time delay function?

2004-03-09 Thread Richard Davey
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 (this

RE: [PHP] time delay function?

2004-03-09 Thread Jason Sheets
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

RE: [PHP] Time

2003-11-25 Thread Wouter van Vliet
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 date and

RE: [PHP] Time

2003-11-25 Thread Fernando Melo
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 in

RE: [PHP] Time

2003-11-25 Thread Fernando Melo
] 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 time and date are showing up correctly

Re: [PHP] time out for mysql_connect

2003-11-21 Thread Marek Kilimajer
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

Re: [PHP] Time problem

2003-11-11 Thread Chris Shiflett
--- Erin [EMAIL PROTECTED] wrote: How do i convert a timestamp in to a normal readable time date ie 2003155023 into 11th November 2003 @ 15:50:23 That's not a timestamp, first of all. It looks to me like you just need to use substr() to parse out the elements however you want. You

  1   2   >