• Post Reply Bookmark Topic Watch Topic
  • New Topic

dates  RSS feed

 
David Jon
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any one know how I can find out the date 7 days agoe? when the only object I have currently available is Date. essentially I want to do something like :

new Date() - 7days.
Any help appreciated.
Thanks,
DJ.
 
Art Metzer
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, David, let us know if this fills the bill?

This code returned

Art
 
David Jon
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YOU ARE THE MAN
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!