This is probably very trivial but I can't for the life of me find any good documentation. I have an AJAX event setup where I need to send a timestamp from the client side to the server. The server script (PHP) will check the timestamp that it has been passed, against a CURRENT_TIMESTAMP in a mysql table and act upon the results.
My problem is that I need to create a timestamp in JavaScript on the client page that will be comparable to the mysql timestamp.