title: Add time stamp to photo upload
body: <p>I am uploading a photo from my iOS app to my server. Currently I am hard coding the name of the photo that I am uploading but this causes all subsequent photos to be overwritten (naturally). To combat this I would like to create a new name for the image, preferably by adding a header (which I define in a separate text field) as well as a timestamp of when it was uploaded. My attempts at this code are as follows, however they do not work :P ... </p>
  
  <pre><code>NSString * timestamp = [NSString stringWithFormat,[[NSDate date], timeIntervalSince1970] * 1000];
          var header:NSString = txtHeader.text
          let filename = (header)&amp;&amp;(timestamp)&amp;&amp;"image.jpg"
          let mimetype = "image/jpg"
  </code></pre>