JavaScript Date toJSON() Method
JavaScript date.toJSON() method converts the given date object’s contents into a string. The date object is created using the date() constructor....
read more
How to get tomorrow’s date in a string format in JavaScript ?
In this article, we will see how to print tomorrow’s date in string representation using JavaScript....
read more
JavaScript Date getMilliseconds() Method
The date.getMilliseconds() method is used to fetch the milliseconds from a given Date object....
read more
JavaScript Date valueOf() Method
The date.valueOf() method is used to get the number of milliseconds between 1 January 1970 00:00:00 UTC and the given date....
read more
JavaScript Program to Convert Date to String
In this article, we will see how to convert a JavaScript Date to a string using JavaScript. We have a few methods to convert JavaScript Date to string which are described below....
read more
JavaScript Date constructor Property
JavaScript Date constructor property returns the constructor function for an object. It is an ES1 feature and is supported by all browsers. The function which is returned by this property is just the reference to this function, not a date containing the function’s name. The JavaScript date constructor, string constructor, and boolean constructor return function Date() { [native code] }., function String() { [native code] } and function Boolean() { [native code] } respectively....
read more
JavaScript Date getSeconds() Method
The date.getSeconds() method is used to fetch the seconds from the given Date object according to the local time. The value returned by this method ranges from 0 to 59....
read more
JavaScript Date getMinutes() Method
JavaScript Date getMinutes() Method is used to fetch the minutes from the given Date object.Syntax:...
read more
JavaScript Date setMonth() Method
The date.setMonth() method is used to set month into a date object which is created using the Date() constructor....
read more
JavaScript Date setTime() Function
The JavaScript Date setTime() Function is a built-in Function in Javascript that is used to get a date object by adding given milliseconds to the date 01/01/1970...
read more
JavaScript Date toTimeString() Method
The date.toTimeString() method is used to return the time portion of the given date object in English. The date object is created using date() constructor....
read more
JavaScript Date setMinutes() Method
JavaScript date.setMinutes() method is used to set minutes into a Date object which is created using the Date() constructor....
read more