now() is native Date.now() — the current time in milliseconds
since the epoch. It is the default timestamp for every formatter in
pota/use/time: date,
datetime, time,
timeWithSeconds, and
day.
Takes no arguments.
Returns: number — milliseconds since the epoch.
Renders the current epoch millisecond count.
import { render } from 'pota'
import { now } from 'pota/use/time'
function App() {
return <p>{now()} ms since the epoch</p>
}
render(App)