weektime

0.0.0 • Public • Published

weektime

returns the number of seconds elapsed since the beginning of the week (sunday)

weektime(unixtime)

- example `weektime(1438559291)`, returns 71291
- for a given unixtime int, returns how many seconds elapsed since the beginning of that week

I've been working with lots of time series data recently and rewriting something like weektime regularly to visualize trends in weekly activity. Figured I should just package it up for real.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i weektime

    Weekly Downloads

    1

    Version

    0.0.0

    License

    ISC

    Last publish

    Collaborators

    • aaronlidman