Latest web development tutorials

jQuery.now () method

jQuery Misc Methods jQuery Misc Methods

Examples

Returns the current time as a Unix timestamp

$ (Function () { ... document body innerHTML = $ now ();})

try it"

Definition and Usage

$ .now () Function returns the number of milliseconds the current time from January 1, 1970 midnight elapsed.

NOTE: This method does not accept any parameters. That function like new Date (). GetTime ().


grammar

$.now( )

jQuery Misc Methods jQuery Misc Methods