Thanks Ben!
John
Ben Ramsey wrote:
In PHP, you could do something like:
$updated = strtotime($db_result['updated']);
$one_year_ago = strtotime('-1 year');
if ($updated < $one_year_ago) {
// updated date is older than a year ago
}
John Taylor-Johnston wrote:
I have a field 'updated
In PHP, you could do something like:
$updated = strtotime($db_result['updated']);
$one_year_ago = strtotime('-1 year');
if ($updated < $one_year_ago) {
// updated date is older than a year ago
}
John Taylor-Johnston wrote:
I have a field 'updated' How can I tell if the date is older t
2 matches
Mail list logo