Showing posts with label fullDate. Show all posts
Showing posts with label fullDate. Show all posts

Thursday, May 26, 2011

fullDate object

The fullDate object will return the entire date. When you loaded this page, it was this date and time.

Browser support: all
TheMadScript version: 2.0.0

Use JS operators to insert the object (or any object) into the coding unless you don't have any other strings. It will work with any of the text-displaying methods. This is just one way of doing it:

box_alert("The time returned:"+fullDate);