title: How to get iOS date format of current date into an integer?
body: <p>I am trying to figure out how to get the current date and time into a number up to the seconds? </p>
  
  <p>I saw this post <a href="https://stackoverflow.com/questions/6456626/what-format-string-do-i-use-for-milliseconds-in-date-strings-on-iphone">What format string do I use for milliseconds in date strings on iPhone?</a> but I am actually trying to get it into just a number...</p>
  
  <p>EDIT: Sorry meant seconds</p>