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