I need to get the system date, and Java provides the new Date().getTime().
new Date().getTime()
But I need to avoid new object allocation (I\'m working on a embedded system)
This should work:
System.currentTimeMillis();