adevade / Seconds
Licence: mit
Helpers for converting time to seconds.
Stars: ✭ 20
Projects that are alternatives of or similar to Seconds
Youtubeexplode.converter
Muxes and converts videos from YoutubeExplode
Stars: ✭ 68 (+240%)
Mutual labels: hacktoberfest, converter
Modfy.video
A video transcoder and converter built using Web Assembly and FFMPEG to transcode and convert videos right in your browser while protecting your privacy
Stars: ✭ 283 (+1315%)
Mutual labels: hacktoberfest, converter
Handwritten.js
Convert typed text to realistic handwriting!
Stars: ✭ 1,806 (+8930%)
Mutual labels: hacktoberfest, converter
Date Fns
⏳ Modern JavaScript date utility library ⌛️
Stars: ✭ 27,650 (+138150%)
Mutual labels: hacktoberfest, time
Sopel
🤖💬 An easy-to-use and highly extensible IRC Bot framework. Formerly Willie.
Stars: ✭ 894 (+4370%)
Mutual labels: hacktoberfest
Puppet Confluence
A puppet module to install confluence
Stars: ✭ 18 (-10%)
Mutual labels: hacktoberfest
Excalibur
🎮 An easy to use 2D HTML5 game engine written in TypeScript
Stars: ✭ 892 (+4360%)
Mutual labels: hacktoberfest
Phoenix routes js
Phoenix routes helpers in JavaScript code.
Stars: ✭ 17 (-15%)
Mutual labels: helpers
Wp P3 Profiler
See which plugins are slowing down your site. This plugin creates a performance report for your site.
Stars: ✭ 19 (-5%)
Mutual labels: hacktoberfest
Developersrising
Archive only! DISSOLVED! Verein zur Förderung von ProgrammiererInnen 💻 🎉
Stars: ✭ 19 (-5%)
Mutual labels: hacktoberfest
Moment.php
Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js
Stars: ✭ 900 (+4400%)
Mutual labels: time
Node Ntp
⌛️ simple network time protocol implementation for node.js
Stars: ✭ 17 (-15%)
Mutual labels: time
Usestatewithlayoutanimation
Abstraction for `React Native`'s `LayoutAnimation` and `useState`
Stars: ✭ 19 (-5%)
Mutual labels: hacktoberfest
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+4400%)
Mutual labels: hacktoberfest
Translatedjs
Internationalization and localization for JavaScript and Node.js
Stars: ✭ 17 (-15%)
Mutual labels: time
Seconds
Helpers for converting time to seconds.
Installation
You can install the package via composer:
composer require adevade/seconds
Usage
use Adevade\Seconds;
Seconds::fromMinutes(2); // returns => (int) 120
Available methods
Seconds::fromMinutes($minutes = 5);
Seconds::fromHours($hours = 12);
Seconds::fromDays($days = 4);
Seconds::fromWeeks($weeks = 2);
Seconds::fromMonths($months = 6);
Seconds::fromYears($years = 2);
Seconds::fromMinute();
Seconds::fromHour();
Seconds::fromDay();
Seconds::fromWeek();
Seconds::fromMonth();
Seconds::fromYear();
Available constants
Seconds::MINUTE;
Seconds::HOUR;
Seconds::DAY;
Seconds::WEEK;
Seconds::MONTH;
Seconds::YEAR;
Months have an average length of 30.42 days.
Years have an average length of 365.24 days.
Credits
Idea came from this tweet by @LasseRafn. Thanks!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].