[Solved] unix YYYYMMDDHHMMSS.miliseconds format to java date [closed]


Here’s a simple solution to convert unix time to localDate and then you’re free to format it as you please:

long time = 1491231860;
final LocalDate localDate = LocalDate.fromMillisSinceEpoch(unixSeconds);

1

solved unix YYYYMMDDHHMMSS.miliseconds format to java date [closed]