Object - Methods

MethodDescription
Date.now() 
getDateGet the day as a number (1-31)
getDayGet the weekday as a number (0-6)
getFullYearGet the year as a four digit number (yyyy)
getHoursGet the hour (0-23)
getMillisecondsGet the milliseconds since Jan, 1 1970)
getMinutesGet the minute (0-59)
getMonthGet the month as a number (0-11)
getSecondsGet the second (0-59)
getTimeGet the time (ECMAScript 5)
getUTCDate 
getUTCDay 
getUTCFullYear 
getUTCHours 
getUTCMilliseconds 
getUTCMinutes 
getUTCMonth 
getUTCSeconds 
Number 
parseFloat 
parseInt 
setDateSet the day as a number (1-31)
setFullYearSet the year (optionally month and day)
setHoursSet the hour (0-23)
setMillisecondsSet the milliseconds (0-999)
setMinutesSet the minutes (0-59)
setMonthsSet the months (0-11)
setSecondsSet the seconds (0-59)
setTimeSet the time (milliseconds since 1 Jan 1970)
toExponential 
toFixed 
toPrecison 
toString 
valueOf 



© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext