Menu
Hi everyone,
I am very new to JS but I would like to know if it’s possible to do a time check using a persons local computer to grant/restrict access to a webpage using javascript.
For example, if the time is between midnight and 6am I would like the user to be able to view the site. If not I would like to display a message or show a picture.
Any help would be greatly appreciated.
Thanks
BlackDog