We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const now = new Date(); //2035-6-7 9:00 const endTime = new Date(2035, 5, 7, 9); const t = endTime - now; const day = ~~(t / 1000 / 60 / 60 / 24); const hour = ~~(t / 1000 / 60 / 60 % 24); const minutes = ~~(t / 1000 / 60 % 60); const seconds = ~~(t / 1000 % 60);
Thanks http://baby.justjavac.com/ https://github.com/justjavac/baby-time/blob/master/index.html https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#Syntax
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks
http://baby.justjavac.com/
https://github.com/justjavac/baby-time/blob/master/index.html
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#Syntax
The text was updated successfully, but these errors were encountered: