Popularity
0.3
Stable
Activity
0.0
Stable
2
1
0
Monthly Downloads: 4
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.
-
Ex_Cldr_Dates_Times
Date & times formatting functions for the Common Locale Data Repository (CLDR) package https://github.com/elixir-cldr/cldr -
jalaali
Jalaali (also known as Jalali, Persian, Khorshidi, Shamsi) calendar implementation in Elixir.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
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