IT Process Automation

 View Only
347 Entries
 
 
7 years ago
1 person recommends this.

getTime() 
Overview - definition 
Returns the number of seconds since midnight Jan 1 1970, and a specified date
 
UsageThe getTime() method returns the number of seconds between ...

7 years ago
1 person recommends this.

getMiliseconds() 
Overview - definition 
Returns the second (from 0-999)
 
UsageThe getMiliseconds() method returns the miliseconds (from 0 to 999) of the specified date and time.
 
 
ResultsA ...

7 years ago
2 people recommend this.

getSeconds() 
Overview - definition 
Returns the second (from 0-59)
 
UsageThe getSeconds() method returns the seconds (from 0 to 59) of the specified date and time.
 
 
ResultsA ...

7 years ago
1 person recommends this.

getMinutes() 
Overview - definition 
Returns the minute (from 0-59)
 
UsageThe getMinutes() method returns the minutes (from 0 to 59) of the specified date and time.
 
 
ResultsA ...

7 years ago
Be the first person to recommend this.

getHours() 
Overview - definition 
Returns the hour (from 0-23)
 
UsageThe getHours() method returns the hour (from 0 to 23) representing the hour.
 
 
ResultsA Number, from ...

7 years ago
1 person recommends this.

getFullYear() 
Overview - definition 
Returns the year (4-digit year)
 
UsageThe getFullYear() method returns the year (four digits for dates between year 1000 and 9999) of the ...

7 years ago
Be the first person to recommend this.

getMonth() 
Overview - definition 
Returns the month (from 0-11)
 
UsageThe getMonth() method returns the month (from 0 to 11) for the specified date, according to local time. For ...

7 years ago
1 person recommends this.

getDay() 
Overview - definition 
Returns the day of the week (from 0-6)
 
UsageThe getDay() method returns the day of the week (from 0 to 6) for the specified date.

0
Sunday1
Monday2
Tuesday3
Wednesday4
Thursday5
Friday6
Saturday 
 
ResultsA ...

7 years ago
1 person recommends this.

getDate() 
Overview - definition 
Returns the day of the month (from 1-31)
 
UsageThe getDate() method returns the day of the month (from 1 to 31) for the specified date.
Resultsday ...

7 years ago
4 people recommend this.

//Date(year, month, day, hours, minutes, seconds, milliseconds);
var MyDate = new Date("July 29, 1996 01:15:00");

//Date objects are created with new Date()  -   Instantiating a ...