For JavaScript 1.2 and above
Display the
Date
as a result of Date() function:
Display the
Date m/d/yyyy
as a result of DisplayDatemdyyyy() a
custom
function:
Display the
Year
as a result of x.getYear() function:
NetScape: Returns number of years since 1900
IE: Returns year
Display the
Month
as a result of x.getMonth() function:
Returns month within year (0-11)
Display the
Day
as a result of x.getDate() function:
Returns day within month (1-31)
Display the
Day of the Week
as a result of x.getDay() function:
Returns day within week (0-6) starting with Sunday
Display the
Hours
as a result of x.getHours() function:
Returns hours within day (0-23)
Display the
Minutes
as a result of x.getMinutes() function:
Returns minutes within hour (0-59)
Display the
Seconds
as a result of x.getSeconds() function:
Returns seconds within minute (0-59)
Display the
Time Zone Offset
as a result of x.getTimeZoneOffset() function:
Returns minutes offset from GMT/UTC
Display the
Time Zone
as a result of x.DisplayTimeZone() a
custom
function:
Returns the time zone your PC is in
Display the
Full Year
as a result of x.getFullYear() function:
Returns year, format yyyy
Display the
Actual Month
as a result of x.DisplayActualMonth() a
custom
function:
Returns actual numeric value for each month
Display the
Calendar Month
as a result of x.DisplayCalendarMonth() a
custom
function:
Returns the name of the month
Display the
Actual Day
as a result of x.DisplayActualDay() a
custom
function:
Returns actual numeric value for each day
Display the
Calendar Day
as a result of x.DisplayCalendarDay() a
custom
function:
Returns the name of the day
Home
|
Code Samples
|
Cool Text Boxes
|
Cool Buttons
|
Select Tag
|
Transitions
|
Money
|
Flash