Re: [PHP] Newbie Date question

2002-07-14 Thread Jason Wong
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 & Hostin

[PHP] Newbie Date question

2002-07-14 Thread RoyW
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

[PHP] Newbie Date Question

2001-11-19 Thread David Mitchell
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("" . $dtmDate->va