JESS: Difference between dates

"ANA TANASESCU" <[email protected]>
Newsgroups gmane.comp.java.jess
Message-ID <19644_1283511435_o83AuAn4020941_513906.81610.qm@web52007.mail.re2.yahoo.com>
Hallo again,

I have read on JessWiki about working with Dates and I have found a few interesting functions. I need in my program to calculate the difference between two dates (number of days). Therefore, I have converted the date in milisecond, I have used the diff-time function (http://www.jessrules.com/jesswiki/view?DiffTime) and converted the result in days.
First it seems to work, but if I use month like february it looks that this function considers that all months have 30 days. 
I thought that after converting in miliseconds I could use this function like datediff in ACCESS. 
What shall I do?

Best regards,
Ana
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.