Answers.Body: <p>According to the documentation for the <a href="http://sgroup.com.au/plugins/feedme/importing-content/field-types#date-time" rel="nofollow noreferrer">Date field</a>, Feed Me uses <a href="http://php.net/manual/en/function.date-parse.php" rel="nofollow noreferrer">date_parse</a> to parse a provided date string into a proper date object. <code>date_parse</code> uses <code>strtotime</code> underneath, which seems to have issues with timestamps.</p>
  
  <p>I just wanted to confirm your timestamp though, as it seems to not produce the correct date for me using:</p>
  
  <pre><code>echo date('Y-m-d H:i:s', 1457685095000);
  
  // Results in
  48162-03-15 06:23:20
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-17T00:19:41.223Z
Answers.Text: I believe that's a timestamp in milliseconds. Divide by 1,000 to get it in seconds as expected by that function.
Answers.UserDisplayName: J.D. Sandifer
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-22T23:32:42.930Z
Answers.LastActivityDate: 2016-11-22T23:32:42.930Z
Answers.UserDisplayName: crawf
Body: <p>I have a Unix timestamp in my feed (1457685095000) and I am trying to map it to the date created entry field and I have another that I am trying to map to a time input field. </p>
  
  <p>The created date is setting the date to a wildly incorrect value and the time field isn't getting set at all. </p>
  
  <p>Any help would be appreciated.</p>
  
Tags: <datetime><plugin-feedme>
Title: Importing Unix timestamp into date time field
ThreadText: # Importing Unix timestamp into date time field
  
  (Asked by: username_0 on 2016-11-22)
  
  I have a Unix timestamp in my feed (1457685095000) and I am trying to map it to the date created entry field and I have another that I am trying to map to a time input field.
  
  The created date is setting the date to a wildly incorrect value and the time field isn't getting set at all.
  
  Any help would be appreciated.
  
  **Tags:** datetime, plugin-feedme
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-22. Score: 2
  
  According to the documentation for the [Date field](http://sgroup.com.au/plugins/feedme/importing-content/field-types#date-time), Feed Me uses [date\_parse](http://php.net/manual/en/function.date-parse.php) to parse a provided date string into a proper date object. `date_parse` uses `strtotime` underneath, which seems to have issues with timestamps.
  
  I just wanted to confirm your timestamp though, as it seems to not produce the correct date for me using:
  
  ```
  echo date('Y-m-d H:i:s', 1457685095000);
  
  // Results in
  48162-03-15 06:23:20
  
  ```
  
  > **Comments:**
  > **username_2**: I believe that's a timestamp in milliseconds. Divide by 1,000 to get it in seconds as expected by that function.  
  
  ---
  
  