title: How to extract epoch from LocalDate and LocalDateTime?
body: <p>How do I extract the epoch value to <code>Long</code> from instances of <code>LocalDateTime</code> or <code>LocalDate</code>? I've tried 
  the following, but it gives me other results:</p>
  
  <pre><code>LocalDateTime time = LocalDateTime.parse("04.02.2014  19:51:01", DateTimeFormatter.ofPattern("dd.MM.yyyy  HH:mm:ss"));
  System.out.println(time.getLong(ChronoField.SECOND_OF_DAY)); // gives 71461
  System.out.println(time.getLong(ChronoField.EPOCH_DAY)); // gives 16105
  </code></pre>
  
  <p>What I want is simply the value <code>1391539861</code> for the local datetime <code>"04.02.2014  19:51:01"</code>.
  My timezone is <code>Europe/Oslo</code> UTC+1 with daylight saving time.</p>