If:
$today = date(Y-m-d);
Then how to I get:
$yesterday = ?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 15 July 2002 00:01, RoyW wrote:
If:
$today = date(Y-m-d);
Then how to I get:
$yesterday = ?
Use strtotime() followed by date(). Details in manual.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting *
Hey Guys and Girls,
I'm selecting a datetime value from SQL Server. In the database the data
looks like:
2001-11-16 18:33:56
When I print out the results on the page I get this:
1005958764
This is how I'm displaying the data:
while(!$rs-EOF)
{
print(trtdfont
3 matches
Mail list logo