Subject: | Existing Code Breaks |
Just updated my system, and a lot of my old code no longer works. Never
had time to figure out if this is The Way to do what I wanted, but this
is the code I used:
Delta_Format(DateCalc("September 21, 2011", "now"), 0, "%dt");
It worked fine, but now it returns "0". To fix the code, one needs to
add the $mode argument:
Delta_Format(DateCalc("September 21, 2011", "now"), "approx", 0, "%dt");
Cheers,
ZZ