title: Any solution to convert timestamp to Date and time (with time zone) ? in React.js
body: <p>I was trying to build a calendar component, but on my backend Jason Api the date is given in timestamp. So how would I going to convert the timestamp to Date and time (with time zone) ? </p>
  
  <p>Consider the code below. </p>
  
  <pre><code>const appointments = [
    {
      id: 0,
      title: 'Watercolor Landscape',
      startDate: new Intl.DateTimeFormat('en-US').format(1585640511000), // here to convert timestamp 
      endDate: new Date(2018, 6, 23, 11, 30),
      ownerId: 1,
    }
  ];
  </code></pre>
  
  <pre><code>constructor(props) {
      super(props);
  
      this.state = {
        data: appointments,
      };
  
      this.commitChanges = this.commitChanges.bind(this);
    }
  
  render() {
      const { data } = this.state;
      console.log( data) // I console the data 
      return (
        &lt;Paper&gt;
          &lt;Scheduler
            data={data}
          &gt;
     )
  }
  </code></pre>
  
  <p>and here is the result from my console:</p>
  
  <p><a href="https://i.stack.imgur.com/ALKEJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ALKEJ.png" alt="enter image description here"></a></p>
  
  <p>My question is how to convert the type of startDate as same as endDate?</p>