title: React Native Parse Firestore Timestamp
body: <p>i realize there is absolutely 0 documentation on how to parse a firebase/firestore timestamp in react.</p>
  
  <p>As it shows here 
  <a href="https://firebase.google.com/docs/reference/android/com/google/firebase/Timestamp" rel="noreferrer">https://firebase.google.com/docs/reference/android/com/google/firebase/Timestamp</a></p>
  
  <p>Timestamp in firebase is composed of seconds and miliseconds.</p>
  
  <pre><code>var newobj={
          uid_to:'K365J32fddel3QTxGG94VksXtQP2',
          uid_from:'RqVngIRyiJV2XTogLSONZIqoe5h1',
          monto:23,
          fecha:new Date(),
          user:{
              from_name:"fabri"
          },
          status:'pending'
      }
      firestore.collection('transacciones').add(newobj);
    }
  </code></pre>
  
  <p>Then in the console is showed as this</p>
  
  <p><a href="https://i.stack.imgur.com/Es8qn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Es8qn.png" alt="enter image description here"></a></p>
  
  <p>And when i do a query it brings this</p>
  
  <pre><code>Object {
    "fecha": Timestamp {
      "nanoseconds": 960000000,
      "seconds": 1526130923,
    },
    "monto": 23,
    "status": "pending",
    "uid_from": "RqVngIRyiJV2XTogLSONZIqoe5h1",
    "uid_to": "K365J32fddel3QTxGG94VksXtQP2",
    "user": Object {
      "from_name": "fabri",
    },
  }
  </code></pre>
  
  <p>How do i parse it into a simple date, or datetime again?</p>