toDateString()
Here is an example.
The output of the above code is here.
Note that before applying any string functions to date object we must convert it to string. The line bellow will generate error message
dt in above code is a date object so we can't use like this
Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
|
▼ More on JavaScript Date |