python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Convert epoch millis to "Jun 6, 2017 3:53:46 PM"
(Using Java 11) How can I convert the following epoch long value:
long epochLong = 1496760826841L
into this string:
Jun 6, 2017 3:53:46 PM

rmf
Votes: 0
Answers: 1
LocalDateTime plusDays() dont work when is the end of the month
I'm testing my app today(may 30) whith a custom hour and minute:
var today=LocalDateTime.now().withHour(hour).withMinute(minute).withSecond(0).withNano(0)
But, when i do:
today=today.plusDay...
devblock
Votes: 0
Answers: 1
How to find the nearest LocalDateTime to the given time among the Keys of a Map
Currently, I have a map with the below entries:
Map<LocalDateTime, Integer> resultMap = new HashMap<LocalDateTime, Integer>();
//Put localdatetime and 30mins split indicator
for(Map.En...
ACP
Votes: 0
Answers: 4
How deserialize from LocalDate and/or LocalDateTime to ZonedDateTime?
I need to create a class that implements JsonbDeserializer < ZonedDateTime > , but, the data (string) to be parsed could be in this format "2021-05-31" or this format "2021-05-31T...
Luciano Borges
Votes: 0
Answers: 1