Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Second

EpochConfidence
Every SecondExact

Overview

This is the fraction of time passed in the current second.

Info

This calculation is based on local time.

Accuracy

This calculation is perfectly accurate to the millisecond.

Source

This is a simple calculation with no source.


Calculation

This clock cal be calculated by taking the current millisecond and dividing it by 1000.

const secondFraction = currentDateTime.getMilliseconds() / 1000;