Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.3 KB
Raw Blame
{
 "cases": [
  {
   "input": null,
   "output": null
  },
  {
   "input": "",
   "output": null
  },
  {
   "input": "2025-01-15T12:00:00.000Z",
   "output": 1736942400000
  },
  {
   "input": "2025-01-15T12:00:00Z",
   "output": 1736942400000
  },
  {
   "input": "2025-01-15T12:00:00.123456Z",
   "output": 1736942400123
  },
  {
   "input": "2025-01-15T12:00:00+02:00",
   "output": 1736935200000
  },
  {
   "input": "2025-01-15T12:00:00",
   "output": 1736942400000
  },
  {
   "input": "2025-01-15 12:00:00",
   "output": 1736942400000
  },
  {
   "input": "2025-01-15",
   "output": 1736899200000
  },
  {
   "input": "2025-1-5",
   "output": 1736035200000
  },
  {
   "input": "Jan 15 2025 12:00:00 GMT",
   "output": 1736942400000
  },
  {
   "input": "Wed, 15 Jan 2025 12:00:00 GMT",
   "output": 1736942400000
  },
  {
   "input": "15 January 2025",
   "output": 1736899200000
  },
  {
   "input": "1736942400",
   "output": null
  },
  {
   "input": "1736942400000",
   "output": null
  },
  {
   "input": "not a date",
   "output": null
  },
  {
   "input": "2025-02-30T00:00:00Z",
   "output": 1740873600000
  },
  {
   "input": "2025-01-15T25:00:00Z",
   "output": null
  },
  {
   "input": "+002025-01-15T12:00:00Z",
   "output": 1736942400000
  },
  {
   "input": "  2025-01-15T12:00:00Z  ",
   "output": null
  }
 ]
}