Forum Discussion
tsuarezc
Occasional Contributor
I recommend using java.time.LocalDate class
https://howtodoinjava.com/java/date-time/java-time-localdate-class/
Related Content
- 3 years ago
Recent Discussions
- 18 days ago
This works as well
"def lastUpdatedDateTimeUTC = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(lastUpdateDate)"
I recommend using java.time.LocalDate class
https://howtodoinjava.com/java/date-time/java-time-localdate-class/