Roger
|
Posted: 05/14/2002, 10:20 AM |
|
Any idea how to subtract a date field from another and put the result in a
3rd field.
I am using PHP+template.
----------------------------------------------
Rgds
Roger
|
|
|
Alexey Alexapolsky
|
Posted: 05/15/2002, 2:28 AM |
|
Convert the strings into timestamps, subtract the timestamps and convert it
back to a string.
http://www.php.net/manual/en/ref.datetime.php
--
Alex
CodeCharge Developer
"Roger" <rtng@web4u.com.sg> wrote in message
news:abrh0v$fgt$1@news.codecharge.com...
> Any idea how to subtract a date field from another and put the result in a
> 3rd field.
> I am using PHP+template.
>
> ----------------------------------------------
> Rgds
> Roger
>
>
>
|
|
|
|