You can go to any website .
I am taking google.co.in .
Clear your address bar in your browser .
Now just copy and paste this below code in your address bar .
This will show the date in the alert box without leaving the website.
Note that the date is in this format mm/dd/yyyy .