1LocalDateTime current=LocalDateTime.now();//gets current LocalDateTime
2LocalDateTime dateTime=LocalDateTime.of(year,month,day,hour,minute,second);//gets specific LocalDateTime
3dateTime.getHour();//get the hour of a DateTime
4dateTime.getDayOfWeek();//get number of current day in week
5dateTime.isBefore(someOtherDateTime);//checks if it is before another LocalDateTime
6dateTime.toLocalDate();//converts it to a LocalDate
7dateTime.toLocalTime();//converts it to a LocalTime