jQuery API

jQuery.now()

jQuery.now() Returns: Number

Description: Return a number representing the current time.

  • version added: 1.4.3jQuery.now()

The $.now() method is a shorthand for the number returned by the expression (new Date).getTime().

Support and Contributions

Need help with jQuery.now() or have a question about it? Visit the jQuery Forum or the #jquery channel on irc.freenode.net.

Think you've discovered a jQuery bug related to jQuery.now()? Report it to the jQuery core team.

Found a problem with this documentation? Report it to the jQuery API team.

* All fields are required