[PHP] time()

2001-03-06 Thread Augusto Cesar Castoldi
I'm trying to do a session with MySQL. how works the funtion time? I didn't undertood the manual. that number is a date, time, seconds?? What is it? regards, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] time

2001-06-20 Thread Jon Yaggie
quickly can some one tell me if time() return server or usersystem time?         Thank You, Jon Yaggiewww.design-monster.com And they were singing . . .  '100 little bugs in the code100 bugs in the codefix one bug, compile it again101 little bugs in the code 101 little bugs in the code . . .

[PHP] Time

2002-01-08 Thread Necro
How can I make a variable which is the current time + 48 hrs?? I had $replyby = time() + 172800; But that returns time in seconds. How can I then format that $replyto into day month year, HH:MM:SS ?? Andrew Duck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] time

2002-05-27 Thread Chris Grigor
howdi all anyone know how to get a simple time print ? all the functions I have looked at gmtime() time() dont give the right thing ... all I want is a simple time print e.g 17:51 I know that there is an easy way, Im just missing it somewhere ... Chris -- PHP General Mailing List (http://www

[PHP] time

2001-08-21 Thread nafiseh saberi
hi. how do I can wrk with time: 11:56:23 - 10:00:45 = thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] time()

2005-07-29 Thread virtualsoftware
Hi, I have the date when users registered stored in the database using time() function format. I have to search for users that are registered this week, this month and this year. How can i do that? I mean how can i found the beginning of this week? Or the beginning of this month? Thanks in ad

[PHP] TIME

2003-09-02 Thread Dale Hersh
The battery on my server keeps on dieing, so the clock is not keeping time correctly. I was wondering is there any way to query some type of global time source in php? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time

2003-11-25 Thread Fernando Melo
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 time it shows it as one hour be

[PHP] Time

2003-11-25 Thread Fernando Melo
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 time it shows it as one h

[PHP] time

2004-10-13 Thread Jerry Swanson
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time problem

2001-02-06 Thread Roman
Hello !! I have one problem with mysql database. In table i have 2 arrays with time format. For example this arrays calls IN and OUT. In php script i want to have distinction between this arrays. For example IN is 8:30:45 and OUT is 16:45:15 and result will be: 8:14:30. Exists any functi

Re: [PHP] time()

2001-03-06 Thread Philip Olson
Hi Augusto, This is a quick hack (nobody freak out please!) that will hopefully explain this question and your other recent thread. Without further ado, play with this : 60*60*24, 'week' => 60*60*24*7, 'month' => 60*60*24*30, 'year'

RE: [PHP] time

2001-06-20 Thread Ray Hilton
well, if its a server side script, the only clock available to it is the one on the server... Ray -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: 20 May 2001 15:51 To: [EMAIL PROTECTED] Subject: [PHP] time quickly can some one tell me if time() return server or

RE: [PHP] time

2001-06-20 Thread SED
I would guess server-time because the PHP is server-based and is processed before the user gets it :) SED -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: 20. maí 2001 13:51 To: [EMAIL PROTECTED] Subject: [PHP] time quickly can some one tell me if time() return

Re: [PHP] time

2001-06-20 Thread Pavel Jartsev
> Jon Yaggie wrote: > > quickly can some one tell me if time() return server or usersystem > time? > Server time. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

RE: [PHP] time

2001-06-21 Thread Don Read
$dtstr= date('Y-m-d h:i'); ... > -Original Message- > From: Jon Yaggie [mailto:[EMAIL PROTECTED]] > Sent: 20 May 2001 15:51 > To: [EMAIL PROTECTED] > Subject: [PHP] time > > > quickly can some one tell me if time() return server or usersystem time? >

[PHP] Time Help

2001-07-01 Thread KPortsmout
Hi, I`m trying to get the difference between two date/times and then state how many days, hours and minutes there are between them. So I take my date and convert it into unix time. Then get the current time, and then subtract the two to get the current difference in unix seconds. What I`m ha

[PHP] time stuff

2001-12-10 Thread natesanden
Was wondering if anyone could help? suppose the date is 12-10-01 -- $timestamp = time(); //this is the "sent on" date $yd_expl = explode(':',08-01-01); $today=mktime(0,0,0,strftime('%m',$timestamp),strftime('%d',$timestamp),strftime('%y',$timestamp));

RE: [PHP] Time

2002-01-08 Thread Martin Towell
date("d M Y, H:i:s", $replyby); -Original Message- From: Necro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 4:27 PM To: [EMAIL PROTECTED] Subject: [PHP] Time How can I make a variable which is the current time + 48 hrs?? I had $replyby = time() + 172800

[PHP] time stamp

2002-08-27 Thread Steve Buehler
I am using PHP with MySQL and have a timestamp field in my db table. What would be the easiest way to get the newest timestamp out of the db? Thanks in Advance Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- PHP G

[PHP] Time Stamp

2002-09-18 Thread Chuck Payne
Hi, I have a form that I am using to update a mysql table but I can get timestamp to update. How can I pass that information to pass on. I have "READ" all books and feel I have correct systax but it just not working... This should pass the time right? Chuck Payne Magi Design and Support -

Re: [PHP] time

2002-05-27 Thread Jason Wong
On Monday 27 May 2002 20:42, Chris Grigor wrote: > howdi all > > anyone know how to get a simple time print ? all the functions I have > looked at gmtime() time() dont give the right thing ... all I want > is a simple time print e.g 17:51 > > I know that there is an easy way, Im just missing it so

RE: [PHP] time

2002-05-27 Thread Roman Duriancik
try echo Date("H:i:s"); roman -Original Message- From: Chris Grigor [mailto:[EMAIL PROTECTED]] Sent: Monday, May 27, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] time howdi all anyone know how to get a simple time print ? all the functions I have looked at gmt

[PHP] time limit ?

2002-03-04 Thread Ác¬P
How can I set a time limit for a form made by PHP (i.e.the value will auto transfer after a certain time) -- Ác¬P¤u§@«Ç http://fansing.hk.st/ ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!) http://acgzone.hk.st/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] time question

2002-03-30 Thread anders nawroth
How do I get the current time() for Central European Time (= GMT +01:00). I want it to work wherever the server stands. How can I get the difference between server time and GMT, for instance? A. Nawroth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Time problem

2001-08-08 Thread pierre-yves
Hello, I convert the time in seconds to do some calculations, now I want to convert a number of seconds in a presentable HH:MM:SS format. In other words, how do you change this 997271630.08651 in 08:14:32 ? py p.s. I use this to get the number of seconds. function getmicrotime() { $temparray

Re: [PHP] time

2001-08-21 Thread speedboy
> hi. > how do I can wrk with time: > > 11:56:23 - 10:00:45 = Don't ask this again. Date: Mon, 20 Aug 2001 19:14:41 +1000 (EST) From: speedboy <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP] time in php > hi. > how I compare two times wit

Re: [PHP] time

2001-08-21 Thread David Robley
On Thu, 23 Aug 2001 16:11, nafiseh saberi wrote: > hi. > how do I can wrk with time: > > 11:56:23 - 10:00:45 = > > thanks. Have a look at the date and time functions - convert the time to seconds and do the calculation (mktime) then turn it back to whatever format you like. -- David Roble

[PHP] PHP Time

2012-07-02 Thread Rob Weissenburger
Hello everyone, I know php time() gives the current unix time which you can format out to a normal date and time. Is there a way to format a specific date and time back to unix time? Thanks for any help.

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 user

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 ti

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 user

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 ti

RE: [PHP] time

2007-01-30 Thread Bob Dusek
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

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 use

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

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 kn

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 >

[PHP] Time Wrong

2009-01-21 Thread 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time Loop

2008-09-29 Thread MDB
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"; $currentTime="09:00:00"; $nu

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 ha

[PHP] Time code!!!

2003-01-20 Thread Karl James
does anyone have the code to where i can have the time printed on my home page like for example     Monday, January 19, 2003   also I want to have it state when the users login in it says welcome back, (name)   any advise would be fantastic?   Thanks Karl __

[PHP] Time Delay?

2003-02-01 Thread OjMyStEr
Hi, Does anyone know if there is a way for me to produce a function in PHP to pause the processing of the script for 3 seconds for example without eating up the CPU bandwidth. I could do with quite accurate control. Is there a better way that doing it like this: The output is: The current ti

[PHP] time() question

2003-03-13 Thread Tom Ray
Is there an easy way to display the epoch time given by time() in a human readable format? Basically, if I do $time = time(); and the insert that data into my mysql database and then pull that information out again how do I make it look like 2003-03-13 or a variant of that? TIA -- PHP General M

Re: [PHP] TIME

2003-09-02 Thread Nicholas Robinson
Not directly as far as I know. Try using chronyd or similar (google will point you in the right direction). This works well with one of my machines that has a wayward clock and chronyd is happy to work with networks not permanently connected to the internet. On Tuesday 02 Sep 2003 1:11 am, Dale

Re: [PHP] TIME

2003-09-02 Thread Curt Zirzow
* Thus wrote Dale Hersh ([EMAIL PROTECTED]): > The battery on my server keeps on dieing, so the clock is not keeping time > correctly. I was wondering is there any way to query some type of global > time source in php? Totally unrealated to php but search for: Network Time Protocol (NTP) That

[PHP] time calcs

2003-06-29 Thread Larry R. Sieting
Hello, I am trying to get a time calculation using: $tot_time = ($data['end_time'] - $data['start_time']); The end_time & start_time are stored in a db as column type of time. I want to output the difference as a difference expressed in time format: 10:05:23 - 09:45:32 = 00:39:51 Do

[PHP] Time Calcuations

2003-10-15 Thread Jake McHenry
Hello again Here's my problem: In my time calculations, I'm taking the time that the user clocked out, minus the time they clocked in. I'm using the time_to_sec function in mysql. I work very odd hours. If I clock in say at 10pm, then clock out at 1am, the clock is majorly messed up. I think i

[PHP] Time problem

2003-11-11 Thread Erin
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 Many thanks, thought id ask someone is bound to

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 dat

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" an

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

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 s

[PHP] time function

2004-03-25 Thread Matthew Oatham
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 matt

Re: [PHP] Time problem

2001-02-07 Thread Steve Werby
"Roman" <[EMAIL PROTECTED]> wrote: > I have one problem with mysql database. In table i have 2 arrays with time > format. > For example this arrays calls IN and OUT. In php script i want to have > distinction between > this arrays. For example IN is 8:30:45 and OUT is 16:45:15 and result > will be

Re: [PHP] Time problem

2001-02-07 Thread php3
Addressed to: "Steve Werby" <[EMAIL PROTECTED]> "Roman" <[EMAIL PROTECTED]> "Php-General" <[EMAIL PROTECTED]> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Wed, 7 Feb 2001 09:28:29 -0500 Or you could do it the easy way in MySQL: SELECT SEC_TO_TIME( TIME_TO

Re: [PHP] Time problem

2001-02-08 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > Or you could do it the easy way in MySQL: > > SELECT SEC_TO_TIME( TIME_TO_SEC( OUT ) - TIME_TO_SEC( IN )) AS Hours, > This requires IN and OUT to be type TIME. That is a pretty sweet function and it's definitely faster to handle the conversion in MySQL instead of PHP.

[PHP] time & session info

2001-03-20 Thread Peter Houchin
on my server in /tmp it saves the session details ... but for some reason it's keeping them there ... is there a way (hopefully with out doing a cron job) that i can tell em to delete them selves after x number of hrs/mins? Peter Houchin [EMAIL PROTECTED] =

[PHP] time getdate GMT

2001-05-14 Thread Johannes Schmiderer
Hi, I'm new to PHP. I want to have the GMT Time in extra values (for instance a array with year, mon, day, hour, ) The best way I've found is: $idtGMTime = time() - date("Z"); $aGMTime = getdate($idtGMTime); Any other suggestions? Why isn't there a function like getgmdate() (as gmtime()

[PHP] Time Language Settings

2001-06-21 Thread Ray Hilton
How do I go arround getting php to output the time() function in a different language? I have tried the setlocale() function to no avail, perhaps my system doesn't have the appropriate locale to do this? If so, then how do install them on Red Hat 7? Cheers, Ray Hilton - [EMAIL PROTECTED] http:/

[PHP] Time out Errors?

2001-06-30 Thread Chris Anderson
I have mayn scripts on a website that use MySQL connections for various tasks. Strangely sometimes a task will hit the timeout (30 sec), then work perfectly when I refresh. Or even work perfectly other times. I'm using Apache on Windows 98 and I'd never had this bug before. Would it be because

RE: [PHP] Time Help

2001-07-01 Thread Jeff Lewis
nt: Sunday, July 01, 2001 11:11 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Time Help > > > Hi, > > I`m trying to get the difference between two date/times and then > state how > many days, hours and minutes there are between them. > > So I take my date and convert i

Re: [PHP] Time Help

2001-07-01 Thread KPortsmout
Thanks Jeff, Thats just the job. Ade << Here is the function I use when I am comparing differences ($now and $old are Unix timestamps): function datediff($now, $old) { $DIS = $now - $old; // Diff In Secs $secs = $DIS % 60; // modulo $DIS -= $secs; $days = floor($DIS / (24*60

[PHP] Time function question/

2001-12-27 Thread Mehmet Kamil ERISEN
Hi, Can anybody suggest a function that will generate a random date between 01-Jan-1967 31-Dec-1985 thanks. = Mehmet Erisen http://www.erisen.com __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP

[PHP] Time Zone Offset?

2002-01-12 Thread Marvin Sanders
Hopefully a quick question: I'm using the PHP date() function on my site, but since my hosting company (Pair Networks) is on the East Coast and I'm on the West Coast, everything shows as three hours later (for most of my visitors, anyway). Pair tells me there's no setting I can make on my account

[PHP] time to seconds

2002-09-18 Thread adi
Hi, I have a table table1, with a column "Duration" time type(ex 00:12:30) I want to make in PHP a sql selection: SELECT * from table1 WHERE condition, and after that, to make sum of values of column "Duration" and display it. Any Help? How to transform time in seconds, with php functions? tx

Re: [PHP] Time Stamp

2002-09-18 Thread 1LT John W. Holmes
MySQL syntax is MMDDHHMMSS or "-MM-DD HH:MM:SS" ---John Holmes... - Original Message - From: "Chuck Payne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 11:25 AM Subject: [PHP] Time Stamp > Hi, > >

RE: [PHP] time() problem

2002-09-18 Thread Savaidis
Hello all! I use time() to keep UNIX seconds from 1970 to a timestamp(14) MySQL field. But when I read it (Dt_last) it is TO big compearing with "today=time()" in a php script that is only some seconds later. today : 1032350421 Dt_last: 20001101165838 What can I do? Thanks! Makis Makis -

RE: [PHP] time() problem

2002-09-18 Thread Adam Voigt
Change it to an INT or a VARCHAR datatype, the mysql timestamp field uses MySQL's date/time formmating. If you decide to let MySQL use it's own date time format, use UNIX_TIMESTAMP(fieldname) to get the unix timestamp from that date field. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-09-18 at 13:19

[PHP] Time is off?

2002-09-25 Thread Brandon Orther
Hello, I am trying to figure out why Squirrel Mail is giving the wrong time. I did a basic script and the time is off in that script too. I have checked the server time and the server hardware clock. They are both on. Does anyone know a reason that the php time would be off? I am

[PHP] time of day

2002-10-03 Thread Bryan Koschmann - GKT
Hello, I was wondering if anyone has a good example of a way to do this. Kinda lame, but like if the time is between 8am and 12pm, say "good morning", between 12pm and 6pm, say good afternoon, and so on. I know this is probably pretty trivial, but I just wanted to see what ideas where out there.

RE: [PHP] time question

2002-03-30 Thread J. Scott Johnson
Why wouldn't you use gmdate: http://www.php.net/manual/en/function.gmdate.php and then increment it yourself by an offset? Scott -Original Message- From: anders nawroth [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 30, 2002 5:05 PM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] time question.

2002-07-26 Thread 1LT John W. Holmes
> How do I compare time in php? > > Eg. If I have a mysql time field I retrieve stored in $result[0][0] how do I > say : > > if (($result[0][0] > $result[0][0] plus ten minutes) && ($result[0][0] > > '00:00:00')){ MySQL and PHP timestamps are in different formats. MySQL uses MMDDHHMMSS and PH

Re: [PHP] Time problem

2001-08-08 Thread Gianluca Baldo
Pierre - py> In other words, how do you change this 997271630.08651 py> in 08:14:32 ? you can use date() in conjunction with mktime(). Have a look at the manual there are good examples and users comments there. Cheers, Gianluca [EMAIL PROTECTED] BcnInédita EURO RSCG INTERACTION www.bcnin

Re: [PHP] Time problem

2001-08-08 Thread pierre-yves
> Sent: Wednesday, August 08, 2001 8:23 AM Subject: AW: [PHP] Time problem Take the date() function ;-) -Ursprüngliche Nachricht- Von: pierre-yves [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 8. August 2001 14:19 An: [EMAIL PROTECTED] Betreff: [PHP] Time problem Hello, I convert t

[PHP] time in php

2001-08-20 Thread nafiseh saberi
hi. how I compare two times with php? 12:23:50 - 13:12:00 = ??? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] time/task reporting

2012-03-01 Thread Robert Nilsson
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. Surely I'm not the first person looking at a similar tool, been sear

[PHP] Time out issue

2012-05-12 Thread admin
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. Here is the example script I fully understand this m

Re: [PHP] PHP Time

2012-07-02 Thread Daniel Brown
On Mon, Jul 2, 2012 at 4:00 PM, Rob Weissenburger wrote: > Hello everyone, > > I know php time() gives the current unix time which you can format out to > a normal date and time. Is there a way to format a specific date and time > back to unix time? Yup. Look at strtoti

Re: [PHP] PHP Time

2012-07-02 Thread Geoff Shang
On Mon, 2 Jul 2012, Rob Weissenburger wrote: I know php time() gives the current unix time which you can format out to a normal date and time. Is there a way to format a specific date and time back to unix time? mktime() and strtotime() will do it, depending on the form your time is in

RE: [PHP] PHP Time

2012-07-02 Thread Rob Weissenburger
That worked just perfectly. Thank you. -Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Monday, July 02, 2012 3:02 PM To: Rob Weissenburger Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Time On Mon, Jul 2, 2012 at 4:00 PM, Rob

Re: [PHP] Time Wrong

2009-01-21 Thread Edmund Hertle
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,

Re: [PHP] Time Wrong

2009-01-21 Thread Nathan Rixham
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

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" 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 >

[PHP] Time formatting issues

2007-07-14 Thread Melissa
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 not find any for TI

[PHP] Time-Zone juggling

2006-11-07 Thread Richard Lynch
I have a PostgreSQL database chockful of datatype: "time without time zone" The times I chucked in there are, like, '7:00 PM' and they all seem fine... Until I start trying to generate an RFC 882 datetime stamp. :-( At that point, the fact that the server lives in Portland OR, and my times are a

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? > > > $end

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"; > $currentTi

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

[PHP] time and timestamp

2005-08-30 Thread Ross
Hi, I have a row in myslq database called time and is just a simple timestamp column When I echo it out echo $row['time']; echo $row['content']; I get the following 2005-08-30 13:50.05 "this is the text content" Now I am not worried about the time but I would like to know how to (i) sort t

[PHP] time zone problem

2005-08-31 Thread Sergey
Hi! I some problem: I have visitor's IP, country and city. I need to define his GMT offset. Have you such database GMT's offsets. I found many such list in Google but many countries has different GMT's (Russia - 7!). Any idea? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Time Zone names

2005-07-13 Thread Richard Lynch
$offset") -- Apparently, in order to set TZ I would need to know, a priori, the name of the time zone, so that's not real helpful for what I need. I looked at all the User Contributed notes, and none seemed to answer it. I suppose I could Google for "PHP time zone" but...

Re: [PHP] Time code!!!

2003-01-20 Thread Justin French
Please post in raw text, not HTML. look in the manual to decide what format you need to replace 'd m y' with: http://php.net/date The welcome back bit all depends on cookies, sessions, how your login scripts work, etc etc. Justin on 20/01/03 12:46 PM, Karl James ([EMAIL PROTECTED]) wrote:

Re: [PHP] Time code!!!

2003-01-20 Thread Larry E. Ullman
does anyone have the code to where i can have the time printed on my home page like for example  Monday, January 19, 2003 The PHP Manual has this code, under the date() function (www.php.net/date). echo date ("l, F j, Y");  also I want to have it state when the users login in it says welcome b

RE: [PHP] Time code!!!

2003-01-20 Thread David Freeman
Hi Karl First up, would you mind posting your messages in plain text instead of html format? It's just a courtesy to the rest of us. > does anyone have the code to where i can have the time > printed on my home page like for example > > Monday, January 19, 2003 Sure, check out the date() fu

Re: [PHP] Time Delay?

2003-02-01 Thread Jason Wong
On Saturday 01 February 2003 21:27, OjMyStEr wrote: > Hi, > Does anyone know if there is a way for me to produce a function in PHP to > pause the processing of the script for 3 seconds for example without eating > up the CPU bandwidth. I could do with quite accurate control. Is there a > better way

Re: [PHP] time() question

2003-03-13 Thread Larry E. Ullman
Is there an easy way to display the epoch time given by time() in a human readable format? Basically, if I do $time = time(); and the insert that data into my mysql database and then pull that information out again how do I make it look like 2003-03-13 or a variant of that? If you are pulling a d

Re: [PHP] time() question

2003-03-13 Thread Tom Woody
On Thu, 13 Mar 2003 12:07:33 -0500 "Tom Ray" <[EMAIL PROTECTED]> wrote: > Is there an easy way to display the epoch time given by time() in a > human readable format? Basically, if I do $time = time(); and the > insert that data into my mysql database and then pull that information > out again how

Re: [PHP] time() question

2003-03-13 Thread Ernest E Vogelsinger
At 18:07 13.03.2003, Tom Ray said: [snip] >Is there an easy way to display the epoch time given by time() in a human >readable format? Basically, if I do $time = time(); and the insert that >data into my mysql database and then pull that information out again

  1   2   3   >