Javascript Date ToString() Function

The toString() function of date object return date as string. Use it for example to date as string.

Syntax

Javascript Date ToString() Function Example

This will produce following result