help to make last seen website | Sololearn: Learn to code for FREE!

0

help to make last seen website

how to make last seen access website like this, "last access website : 8 january 2020, 9:17AM" i want to make it in footer or side bar and using html, for last assignment thanks.

1/8/2020 2:20:38 AM

Abdurahim Maulana

1 Answer

New Answer

0

You could store a Date object on local storage whenever someone goes on the website. When they come back, display the old Date object and replace it with the new one in local storage. This is one method.