Date string vs Date number

Edit on GitHub

Setup

Tests

  • Date string

    new Date("2017-01-23 23:25:54")
  • Date number

    new Date(1485213954 * 1000)