Note, I do NOT want millis from epoch. I want the number of milliseconds currently on the clock.
So for example, I have this bit of code.
Date date2 = ne
Java 8:
LocalDateTime toDate = LocalDateTime.now(); LocalDateTime fromDate = LocalDateTime.of(toDate.getYear(), toDate.getMonth(), toDate.getDayOfMonth(), 0, 0, 0); long millis = ChronoUnit.MILLIS.between(fromDate, toDate);