Let's get started with a Microservice Architecture with Spring Cloud:
Java Dates Series
Last updated: March 5, 2024
.
.
.
.
.
Java Date Basics
- Introduction to the Java Date/Time API
- Get the Current Date and Time in Java
- Creating a LocalDate with Values in Java
- Get Date Without Time in Java
- Period and Duration in Java
- Difference Between Instant and LocalDateTime
- Comparing Dates in Java
- Difference Between Two Dates in Java
- Extract Year, Month and Day From Date in Java
- Add Hours to a Date in Java
- Set the Time Zone of a Date in Java
.
.
.
.
.
Date Formatting
- Guide to DateTimeFormatter
- Check If a String Is a Valid Date in Java
- Format Instant to String in Java
- Get Date Without Time in Java
- Format a Milliseconds Duration to HH:MM:SS
.
.
.
.
.
Date Conversions
- Convert String to Date in Java
- Convert String to Instant
- Convert Date to LocalDate or LocalDateTime and Back
- Convert Between Java LocalDate and Epoch
- Convert Epoch Time to LocalDate and LocalDateTime
- Convert Time to Milliseconds in Java
- Conversion From 12-Hour Time to 24-Hour Time in Java
- Convert Between LocalDateTime and ZonedDateTime
- Converting Java Date to OffsetDateTime
- Converting Between LocalDate and SQL Date
.
.
.
.
.
Legacy Date API
- A Guide to SimpleDateFormat
- Guide to java.util.GregorianCalendar
- Convert java.util.Date to String
- Convert java.util.Date to java.sql.Date
- Converting Between LocalDate and XMLGregorianCalendar
.
.
.
.
.
















