jQuery & jQuery UI Documentation

jQuery & jQuery UI

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().