hope it'll help
.mtg.
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: "Naqashzade, Sadeq" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 3:59 PM
Subject: Re: [PHP] Re: Ch
> How can I find time stamp for example 125 next days.
$oneDay = ( 60 * 60 * 24 );
$timeStamp = date( "U" ) + ( $oneDay * 125 );
> or 03:30 hours next?
$oneHour = ( 60 * 60 );
$timeStamp = date( "U" ) + ( $oneHour * 3.5 );
This is just one of the many different ways it can be done.
Chris
--
On Sunday 11 January 2004 20:52, Naqashzade, Sadeq wrote:
> So Thanks, but can you get me some example code?
There are plenty of examples in the manual!
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet
3 matches
Mail list logo