SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: time objects??

  1. #1
    SitePoint Zealot
    Join Date
    Mar 2004
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question time objects??

    hi,
    i've been trying to learn some java, doing little tricks... and so i have a doubt..
    does JavaScript have any time objects?..
    for example:
    i want to do a function that increases a var by one value , for each second... can this be done??

    thanks...

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Look into setTimeout() and setInterval().

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2004
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks vinnie...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •