is it possible to create a jQuery function so that it gets current date and time? I\'ve been looking around documentation but haven\'t found anything so far...
Yes, it is possible:
jQuery.now()
or simply
$.now()
see jQuery Documentation for jQuery.now()