RE: [PHP-DB] Date & Time 90 minutes ago

From: Date: Thu, 19 Jan 2006 21:54:12 +0000
Subject: RE: [PHP-DB] Date & Time 90 minutes ago
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-41077@lists.php.net to get a copy of this message
<?php echo date("Y-m-d H:i:s",strtotime("90 minutes ago")); ?> bastien
From: "Ron Piggott (PHP)" <ron.php@actsministries.org> Reply-To: ron.php@actsministries.org To: PHP DB <php-db@lists.php.net> Subject: [PHP-DB] Date & Time 90 minutes ago Date: Thu, 19 Jan 2006 16:57:33 -0500 Would someone be able to help me with the DATE command syntax to know what the date and time was 90 minutes ago? I am trying to assign these values into two variables: $date_90_minutes_ago $time_90_minutes_ago I am not sure how to handle midnight where if the time is 00:10:00 ninety minutes earlier is a day before. Thanks. Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#41077) next »