Currently I have a String
field that stores date in a following format:
"2017-04-19 godz. 20:00"
I need to parse it to the format:
2017-04-19T20:00:00Z
Can you give me a hint how can I do it in java
?
Use java.time.format.DateTimeFormatter
for Java 8.
Or java.text.SimpleDateFormat
for Java 7.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments