Answers for "how to extract time form epoch in java"

1

get epoch time in java

long epochTime=System.currentTimeMillis();
Posted by: Guest on April-15-2021
0

how to convert epoch time to date in java

String formatted = dateTime.format(DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm:ss"));
Posted by: Guest on September-02-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language