jQuery.now()

jQuery

jQuery.now()


jQuery.now() Returns: Number

Description: Return a number representing the current time.

  • version added: 1.4.3jQuery.now()

    • This method does not accept any arguments.

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