Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 1 KB

README.md

File metadata and controls

30 lines (29 loc) · 1 KB

LOGO

getdatetime

A simple HTML Code that gets your current time in HH:MM:SS:AM/PM, MM/DD/YYYY and Day of the Week format, with dark mode.

How it works?
1.) It gets your current date and time via JavaScript.
2.) It sync the current date and time via JavaScript.


Note: It does not depend on a time server, the time and date of your current device is the one being used. So, it is possible to use it offline.

Instructions for the PWA app installation (Works even you are offline)

1.) Mobile Browsers
-To install the app, just click the 3 dots (or similar on other browsers) then click Install App.

2.) Desktop Browsers
-To install the app, you may click the share button on the address bar then click the download button
or
-To install the app, click the 3 dots or similar then go to More Tools and click Create Shortcut. Make sure to tick the option "Open in new window" or similar.