title: How to convert a formatted local time to epoch?
body: <p>I have a local time like <code>"2013-08-27 10:01:22"</code>, how do I convert it to epoch time?</p>
  
  <p>basically I need the opposite of <code>as.POSIXct</code>, I searched on google and surprisingly didn't find any.</p>