From: Ian B. <ia...@co...> - 2004-04-14 21:15:05
|
Samir Patel wrote: > I need some ideas on solving this problem. > > I have int field daysOpen in my SQLObject which is not set by user. I wrote > a _get_daysOpen which calculates days difference between other field > (birthday) from todays date. Now I like to calculate days difference from > user defined date instead of today. How can I do this? It will have to be a method, like daysOpenTo(date) |