Getting milliseconds between two dates

Anyone know how to get number of milliseconds between two DateTime objects?

I can get seconds, but not milliseconds using dateDiff()
http://trycf.com/gist/3114ab628994d6d8d6df/lucee?theme=monokai--

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

looks like GetTickCount() is what I am after
http://trycf.com/gist/ebb6cb553a94138cf99a/lucee?theme=monokaiOn 10 February 2016 at 10:08, AJ Mercer <@AJ_Mercer> wrote:

Anyone know how to get number of milliseconds between two DateTime objects?

I can get seconds, but not milliseconds using dateDiff()
http://trycf.com/gist/3114ab628994d6d8d6df/lucee?theme=monokai

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

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

MichaAm 10.02.2016 3:08 vorm. schrieb “AJ Mercer” <@AJ_Mercer>:

Anyone know how to get number of milliseconds between two DateTime objects?

I can get seconds, but not milliseconds using dateDiff()
http://trycf.com/gist/3114ab628994d6d8d6df/lucee?theme=monokai

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAPURtC07LKF83a8xObB68rtbT6--P8A0h2QM7J34ZeT7SYLUzg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC07LKF83a8xObB68rtbT6--P8A0h2QM7J34ZeT7SYLUzg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.