Hi,
On Tue, 27 Jan 2004 23:05:09 -0500
gohaku <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I made the mistake of using strtotime("day") instead of
> strtotime("today")
> to get the current time.
> I was just curious, what is strtotime("day") represent?
>
> Below is what I used to test the "day"
Hi everyone,
I made the mistake of using strtotime("day") instead of
strtotime("today")
to get the current time.
I was just curious, what is strtotime("day") represent?
Below is what I used to test the "day" and "today" parameters:
Testing One Minute Difference
Thanks in advance.
-Gohaku
Hello,
I'm not even quite sure if I am posting this message in the right place,
so please bear with me.
I have a question regarding the strtotime() function. I am developing a PHP
script to handle dates for my web site, and I need an easy way to get from
today to tomorrow to +2 days to +3 days
AIL PROTECTED]>
Newsgroups: php.general
Sent: Tuesday, March 06, 2001 12:06 PM
Subject: [PHP] strtotime question
> Hi there,
>
> $ob->date is '2000/03/06'.
>
> $d = ereg_replace('([0-9]*)-([0-9]*)-([0-9]*)',
> '\2/\3/\1', $ob
Hi there,
$ob->date is '2000/03/06'.
$d = ereg_replace('([0-9]*)-([0-9]*)-([0-9]*)',
'\2/\3/\1', $ob->date);
$d is now '03/06/2000'.
$foo = getdate(strtotime($d)+86400);
Here I have to add an entire day to the value of strtotime($d) to get
the expected results for below.
ec
5 matches
Mail list logo