Categories: All Free JavaScripts/ Applets Tutorials References

Home / Free JavaScripts / Cookies / Here

Cut & Paste Display time of last visit

Credit: JavaScript Kit

Description: This script records the date+time of your visitor's last visit and displays it upon their return. If this is their first visit to your site, a greeting message is shown instead. You can customize the messages to display in each case.

Example:  
(reload page to see time of your last visit)

Directions

Simply insert the below script where you wish to display the Last Visit message:

You can customize the two messages shown by editing the two variables near the top.


JavaScript Tools:
Site Info

CopyRight © 1998-2008 JavaScript Kit. NO PART may be reproduced without author's permission.