![]() |
Sergey Kornilov admin 6/4/2007 |
Set View as type of this field to Custom. Here is the sample code that does similar job. You need to modify it adding date diff calculation. $str = "<table width=100% bgcolor="; |
S
|
spoilar author 6/4/2007 |
This is what I have so far. Does this seem right. I am still trying to figure out how to do the rest. $str = "<table width=100% bgcolor="; |
S
|
spoilar author 6/4/2007 |
Is this looking right? Or is it too much? I don't have access to my program right now (it's at work). $str = "<table width=100% bgcolor=";
|
![]() |
Sergey Kornilov admin 6/5/2007 |
To calculate the difference between two dates you can use DateDiff function. |
S
|
spoilar author 6/8/2007 |
I finally got this to work using this code snippet and the datediff. $str = "<table width=100% bgcolor=";
|
![]() |
Alexey admin 6/8/2007 |
Hi, ... $str.="><tr><td>".format_shortdate(db2time($value))."</td></tr></table>"; ... |
S
|
spoilar author 6/8/2007 |
That worked perfectly! Thank you! |
S
|
spoilar author 6/8/2007 |
Now I have a new problem. |