You are right that is not possible with datediff, could you raise a feature request in jira for this? What you can do is:
diff=(milliseconds (date1)-milliseconds(date2))+datediff("s",date1,date2); // not tested
Micha
--
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAPURtC07LKF83a8xObB68rtbT6--P8A0h2QM7J34ZeT7SYLUzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG%2BEEBzMh8GJWFiJdkfnx0uHZu8A_haFaptA5zXPrhrcFuy3JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.