ROUTMIO_DEV

TOOLS

DDL GeneratorDDL → ERDDummy Data GeneratorRegex TesterJSON FormatterBase64 ConverterTimestamp ConverterCron BuilderMeeting Minutes

DATABASE

LANGUAGE

Java DateTime

15 functions

LocalDate.nowLocalDate.now()

Obtains the current date from the system clock.

LocalDateTime.nowLocalDateTime.now()

Obtains the current date-time from the system clock.

LocalDate.ofLocalDate.of(year, month, day)

Obtains an instance from a year, month, and day.

LocalDateTime.ofLocalDateTime.of(date, time)

Obtains an instance from a date and time.

plusDaysdate.plusDays(days)

Returns a copy with the specified number of days added.

minusDaysdate.minusDays(days)

Returns a copy with the specified number of days subtracted.

plusMonthsdate.plusMonths(months)

Returns a copy with the specified number of months added.

plusYearsdate.plusYears(years)

Returns a copy with the specified number of years added.

isBeforedate.isBefore(other)

Checks if this date is before the specified date.

isAfterdate.isAfter(other)

Checks if this date is after the specified date.

formatdate.format(DateTimeFormatter.ofPattern(pattern))

Returns a formatted string using printf-style format.

parseLocalDate.parse(str, formatter?)

Obtains an instance of LocalDate from a text string.

ChronoUnit.betweenChronoUnit.DAYS.between(d1, d2)

Calculates the number of units between two dates.

Instant.nowInstant.now()

Obtains the current instant from the system clock.

Instant.toEpochMilliinstant.toEpochMilli()

Converts this instant to the number of milliseconds from the epoch.

Terms of ServicePrivacy PolicyContactIcons by Flaticon