- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 693 Articles for Front End Scripts

Updated on 25-Jun-2020 11:55:30
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setUTCHours() function of the date object accepts an integer representing the hours and replaces the value of the hours in the current date (time) with it, according to the ... Read More 
Updated on 25-Jun-2020 12:01:34
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setUTCFullYear() function of the date object accepts an integer representing the year and replaces the value of the year in the current date with it, according to the universal ... Read More 
Updated on 25-Jun-2020 12:02:15
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setUTCDate() function of the date object accepts an integer representing the date (day of the month) and replaces the value of the current date with it, according to the ... Read More 
Updated on 25-Jun-2020 11:41:19
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.Using the setTime() function of the Date object you can set the time of the current date.SyntaxIts Syntax is as followsdateObj.setTime();Example Live Demo JavaScript Example ... Read More 
Updated on 25-Jun-2020 11:42:15
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setSeconds() function of the date object accepts an integer representing the seconds and replaces the value of the seconds in the current date with it.SyntaxIts Syntax is as followsdateObj.setSeconds();Example Live ... Read More 
Updated on 25-Jun-2020 11:43:00
The Date object is a datatype built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setMonth() function of the date object accepts an integer representing the month and replaces the value of the month in the current date with it.SyntaxIts Syntax is as followsdateObj.setMonth();Example Live Demo ... Read More 
Updated on 25-Jun-2020 11:43:53
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setMinutes() function of the date object accepts an integer representing the Minutes and replaces the value of the Minutes in the current date with it.SyntaxIts Syntax is as followsdateObj.setMinutes();Example Live ... Read More 
Updated on 25-Jun-2020 11:44:40
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setMilliseconds() function of the date object accepts an integer representing the milliseconds and modifies/replaces the value of the milliseconds in the current date with it.SyntaxIts Syntax is as followsdateObj.setMilliseconds();Example Live ... Read More 
Updated on 25-Jun-2020 11:45:21
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setHours() function of the date object accepts an integer representing the hours and modifies/replaces the value of the hours in the current date with it.SyntaxIts Syntax is as followsdateObj.setHours();Example Live ... Read More 
Updated on 25-Jun-2020 11:46:07
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The setFullYear() function of the date object accepts an integer representing the year and modifies/replaces the current year with it.SyntaxIts Syntax is as followsdateObj.setFullYear();Example Live Demo JavaScript Example ... Read More Advertisements