Is there a way to check if a variable is a Date in JavaScript?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-05-14T01:37:14Z Indexed on 2010/05/14 1:44 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

I was wondering if there is any way to check if an object is specifically a Date in JavaScript. isType returns object for Date, which isn't enough for this scenario. Any ideas? Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about date