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:
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 . . .
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
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
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]
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
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
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
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
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
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
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'
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
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
> 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
$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?
>
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
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));
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
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
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
-
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
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
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
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
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
> 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
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
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.
[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
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
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
[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
> [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
# [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
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
>
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
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
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
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
__
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
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
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
* 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
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
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
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
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
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
]
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
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
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
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
"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
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
<[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.
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]
=
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()
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:/
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
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
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
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
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
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
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,
>
>
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
-
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
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
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.
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]
> 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
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
>
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
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]
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
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
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
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
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
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,
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
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
>
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
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
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
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
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
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
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,
$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...
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:
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
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
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
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
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
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 - 100 of 280 matches
Mail list logo