---
title: "Comment by Dave Bray on \"20 Killer JavaScript One Liners ☝️\" | Hashnode"
description: "Hey Savio - loved your one liners and used the isDateValid one ... until On iOS new Date(&#39;2009-10-11 11:01:01&#39;) is Invalid on Chrome new Date(&#39;2009-"
url: "https://hashnode.com/posts/20-killer-javascript-one-liners/6146f17da2b54e17a52c38b6/comment/62f1c24878c42064d1f341c5"
---

[Discussion](https://hashnode.com/posts/20-killer-javascript-one-liners/6146f17da2b54e17a52c38b6)

Comment [20 Killer JavaScript One Liners ☝️](https://hashnode.com/posts/20-killer-javascript-one-liners/6146f17da2b54e17a52c38b6)

[Dave Bray](https://hashnode.com/@bravedave)

[Aug 9, 2022](https://hashnode.com/posts/20-killer-javascript-one-liners/6146f17da2b54e17a52c38b6/comment/62f1c24878c42064d1f341c5)

Hey Savio - loved your one liners and used the isDateValid one ... until

On iOS new Date('2009-10-11 11:01:01') is Invalid

on Chrome new Date('2009-10-11 11:01:01') Sun Oct 11 2009 11:01:01 GMT+1000 (Australian Eastern Standard Time)

clearly I'm in Oz ...

It's hard to debug iOS as I use Win11

cheers
