Someone sent me the strtotime function. This was the command I was needing. Ron On Sun, 2007-01-28 at 08:57 -0600, David Giragosian wrote: > Ron Piggott wrote: > > I have date in the variable $date_reference in the format > YYYY-MM-DD. > > How do I find out the date before this and the date after > this? Ron > > > > Not enough information, Ron. Do you mean: 1. as exists in some data > set that you've created or stored, like in an array or a database; 2. > in a general sense, like a millisecond before and after, as in some > increment/decrement of linear time; 3. some other conceptual > understanding of time, before and after? > > David > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php