Java 8 Date & Time: How to Add and Subtract Hours, Days, or Months From a LocalDateTime Object Because sometimes you need to get a date and time relative to another date and time.