Thank you Pedro for searching the forums before asking, we greatly appreciate this.

You can you d.getTime() to get the number of milliseconds :)

I hope that helps.

Regards,
Chris