Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TypeError on Date()

Status
Not open for further replies.

Vadim

Programmer
Joined
Feb 5, 2002
Messages
75
Location
US
This line:
var date = new Date(new Date() - 86400000);

gave me an error - 'Object doesn't support this action'-
but same line work in all others of my pages.

What is wrong?
 
Thank you, it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top