Getting the Date Type in JavaScript: Convert to String Example