import java.time.LocalDateTime;

public class Time {
    public static void main(String[] args) {
        // Get the current date and time
        LocalDateTime now = LocalDateTime.now();

        // Format the current date and time

        // Print the formatted date and time
        System.out.println("Current date and time: " + now);
    }
}
