if datetime json starts with javascript code example Example: find if json property is of type date type Object.prototype.toString.call(date) === '[object Date]'