5th FEBRUARY 2007 = time()

5th FEBRUARY 2007 = time()

am 05.09.2007 22:57:18 von Hans-Peter Sauer

5th FEBRUARY 2007

How do i turn the above date into the same sort of number that time()
would produce .


--
(stuckle and his lapdogs are forbidden from replying to this thread as i
dont actually want any help from them)

Re: 5th FEBRUARY 2007 = time()

am 05.09.2007 23:05:36 von Lars Eighner

In our last episode,
,
the lovely and talented Krustov
broadcast on comp.lang.php:

> 5th FEBRUARY 2007

> How do i turn the above date into the same sort of number that time()
> would produce .

if you have the CLI, see if

#php -r "echo strtotime('5th February 2007');"

doesn't give you what you want.

(1170655200)

--
Lars Eighner
Countdown: 502 days to go.
What do you do when you're debranded?

Re: 5th FEBRUARY 2007 = time()

am 05.09.2007 23:35:25 von Hans-Peter Sauer



<05 Sep 2007 21:05:36 GMT>


> strtotime('5th February 2007');
>

Yeah that works fine - thanks .


--
(c) The Amazing Krustov

Re: 5th FEBRUARY 2007 = time()

am 07.09.2007 06:46:52 von Tim Roberts

Krustov wrote:
>
>(stuckle and his lapdogs are forbidden from replying to this thread as i
>dont actually want any help from them)

Although he is somewhat short-tempered, Jerry Stuckle clearly ranks among
the top 3 participants in this newsgroup in terms of raw PHP knowledge.
You're cutting off your nose to spite your face.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.