Javascript String isJSONDate()

Description

Javascript String isJSONDate()

String.prototype.isJSONDate = function(){
 return /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).*Z$/.match(this);
}



PreviousNext

Related