Popularity
0.4
Stable
Activity
0.0
Stable
2
1
0
Monthly Downloads: 2
Programming language: Elixir
License: Apache License 2.0
Tags:
Date And Time
milliseconds alternatives and similar packages
Based on the "Date and Time" category.
Alternatively, view milliseconds alternatives based on common mentions on social networks and blogs.
-
filtrex
A library for performing and validating complex filters from a client (e.g. smart filters) -
Crontab
Parse Cron Expressions, Compose Cron Expression Strings and Caluclate Execution Dates. -
Ex_Cldr_Dates_Times
Date & times formatting functions for the Common Locale Data Repository (CLDR) package https://github.com/elixir-cldr/cldr -
good_times
Expressive and easy to use datetime functions in Elixir. -
moment
Moment is designed to bring easy date and time handling to Elixir. -
jalaali
Jalaali (also known as Jalali, Persian, Khorshidi, Shamsi) calendar implementation in Elixir. -
timex_interval
A date/time interval library for Elixir projects, based on Timex. -
calendarific
An Elixir wrapper for the holiday API Calendarific -
block_timer
Macros to use :timer.apply_after and :timer.apply_interval with a block -
emojiclock
An Elixir module for returning an emoji clock for a given hour -
Calixir
Calixir is a port of the Lisp calendar software calendrica-4.0 to Elixir. -
japan_municipality_key
Elixir Library for Japan municipality key converting
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of milliseconds or a related project?
README
Millseconds for Elixir
Convert the word version of time to milliseconds and vice-versa.
Examples
import Milliseconds
# Milliseconds to readable time
convert(3600000)
# => "1h"
# Readable time to milliseconds
convert("2yrs")
# => 6.31152e10
# Calculate future time
# Milliseconds 24 hours from now
expires_tomorrow = future_time("24hrs")
# Milliseconds 6 hrs from now
expires_later = future_time("6hrs")
# Current time in milliseconds
now = current_time_millis
Inspired by ms.js: https://github.com/rauchg/ms.js