Re: [PHP] Re: calculate the time that day ends

2009-02-03 Thread Ralf Meyer
Am Dienstag, 3. Februar 2009 schrieb Shawn McKenzie: > I'm not sure that I understand, but I'm pretty sure that every day > ends on 23:59:59. No, for some people only most days :-) : http://en.wikipedia.org/wiki/Leap_second some days end on 23:59:60 which is not the same as 00:00:00. Ralf -- M

[PHP] Re: calculate the time that day ends

2009-02-03 Thread Shawn McKenzie
Thodoris wrote: > Hi gang, >I was wondering if there is way to find out what is the time that > every day ends? I am planning to add this to the first page on an > interface I am developing. > I'm not sure that I understand, but I'm pretty sure that every day ends on 23:59:59. -- Thanks! -S

Re: [PHP] Re: Calculate No Of Days

2005-01-04 Thread Jamie Alessio
>> Is there any function avialable in PHP to calculate >> the no of days by passing 2 dates >> If you happen to be pulling both dates from MySQL you could use the MySQL date functions: http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html http://dev.mysql.com/doc/mysql/en/Date_calculation

Re: [PHP] Re: Calculate No Of Days

2005-01-04 Thread Wouter van Vliet
On Mon, 03 Jan 2005 22:58:49 -0500, Jerry Kita <[EMAIL PROTECTED]> wrote: > Khuram Noman wrote: > > Hi > > > > Is there any function avialable in PHP to calculate > > the no of days by passing 2 dates like 1 argument is > > 1/1/2005 and the second one is 1/2/2005 then it > > returns the no of days

[PHP] Re: Calculate No Of Days

2005-01-03 Thread Jerry Kita
Khuram Noman wrote: Hi Is there any function avialable in PHP to calculate the no of days by passing 2 dates like 1 argument is 1/1/2005 and the second one is 1/2/2005 then it returns the no of days or how can i do that if there is no builtin function . Regards Khuram Noman __

[PHP] Re: Calculate

2004-03-16 Thread Luis Mirabal
from sql?? if you are doing: select ... count(date) ...from ... where ... do: select ... count(date) ...from ... where ... group by date luis. "Tommi Virtanen" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Hi! > > How I can calculate following: > > I have table: > id(int)

[PHP] RE: Calculate UTC Time from GPS device

2003-03-08 Thread YC Nyon
Hi, I got time data from a GPS unit like 054544 which is rollback to 1970s or something. Has anyone got script to convert it into current time? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release

Re: [PHP] Re: Calculate Directory Size

2002-01-26 Thread Jeff Sheltren
I'm sorry, but I won't be much help on the windows side of things, but for UNIX, the job is already done for you! There is a utility called 'du', which will tell you the disk usage of a file (or a folder and its contents). Specifically, you would want to use the -s flag to specify only to show th

[PHP] Re: Calculate Directory Size

2002-01-26 Thread Alan McFarlane
I suggest using an external tool - using PHP would probably be too slow esp. if you're hitting 1000+ users. (Plus, I think you would have to run a lot of clearstatcache()'s which may cause all sorts of problems)... If you do an ls or dir or similar then you could parse the output, however there m