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

2006-01-19 Thread tg-php
= Original message = = = bastien >From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: PHP DB >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 com

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

2006-01-19 Thread Cal Evans
$date_90_minutes_ago = date('m/d/Y',mktime()-(60*90)); $time_90_minutes_ago = date('h:i:s',mktime()-(60*90)); 60 seconds * 90 minutes. =C= | | Cal Evans | http://www.calevans.com | | We get our best customers from referrals. | We would appreciate you referring any of your | friends or co-workers

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

2006-01-19 Thread Bastien Koert
bastien From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: PHP DB 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 tim

[PHP-DB] Date & Time 90 minutes ago

2006-01-19 Thread Ron Piggott (PHP)
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 earl