Basic HTML version of Foils prepared 3 March 99

Foil 53 Date Objects

From Overview of JavaScript I -- Basic Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

The Date Object for Foil 53
The Date constructor has many forms: today = new Date(); xmas = new Date( 97, 12, 25 ); birthday = new Date( "April 6, 1952" );
  • The Date() constructor may also be used as a function with no arguments
  • Time measured in milliseconds past January 1, 1970 UTC (Universal Coordinated Time)
  • Warning: The Date object is buggy in NN2!



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Mar 3 1999