get current time of system in mili seconds java code example
Example: java get current time in seconds
LocalDateTime date = LocalDateTime.now();
int seconds = date.toLocalTime().toSecondOfDay();
LocalDateTime date = LocalDateTime.now();
int seconds = date.toLocalTime().toSecondOfDay();