15 minutes = 15 * 60 seconds. Therefore just add 900 to the field.
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Time Question
Hi there, I have a field in my db called expires and it
?php
$t = date(m/d/Y h:i:s A, gettimeofday());
print $t;
?
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Time Question
Hi there. Got a bit of a snag. I'm migrating an ASP app to PHP with a
CORRECTION:
?php
$t = date(m/d/Y h:i:s A, time());
print $t;
?
--
C:\php -f a.php
02/14/2002 12:49:50 PM
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Time Question
Hi there.
Thx Rick :) Appreciate your help :)
Cheers, Joe
Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
?php
$t = date(m/d/Y h:i:s A, gettimeofday());
print $t;
?
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February
Use:
date(n/j/Y g:i:s A);
If you need any more help on what the letters mean, or you need to change
the layout visit:
http://www.php.net/manual/en/function.date.php
keTTle_drum.
Hi there. Got a bit of a snag. I'm migrating an ASP app to PHP with a
mssql7.0 backend. The