21300 Posts in 5735 Topics by 2603 members
| Go to End | ||
| Author | Topic: | 1158 Views |
-
Re: IF Childrens LastEdited Date is over 10 days

23 September 2010 at 10:14pm
Perhaps I'm missing something but
LastEdit=1284830332
-10days=1284032978Its returning true as LastEdit is > -10 days which is what the equality asks for so it returns true. Rather than using die() you should use Debug::show() so you can output all of them and see what their LastEdited dates are. You might also what to do Debug::show($this->dbObject('LastEdited')->Ago()) so you can see (without the numbers just how long ago it is.
| 1158 Views | ||
| Go to Top |

