Java LocalDateTime.now()

Java LocalDateTime.now() is a static method in the Java LocalDateTime class that returns the current date and time from the system clock, using the default time zone. It is widely used in applications that need to track or display the current time. Introduced in Java 2014 with Java 8, now() is part of Java's java.time package and is a modern, immutable alternative to the older Java Date class.

https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html