Date and Time in Java 8

How to get current date and/or time in Java ? How to convert a String to date and time in Java ? For date strings with ‘T’ if you face the below exception: add ‘T’ as shown in the below format: How to create a Date Time instance with a previous date time value ? … Continue reading Date and Time in Java 8