Popularity
3.7
Declining
Activity
0.0
Stable
29
2
1

Monthly Downloads: 4
Programming language: Elixir
License: Apache License 2.0
Tags: Date And Time    
Latest version: v0.1.0

moment alternatives and similar packages

Based on the "Date and Time" category.
Alternatively, view moment alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of moment or a related project?

Add another 'Date and Time' Package

README

Moment

Build Status

Moment is designed to bring easy date and time handling to Elixir. Its semantic (notably for formatting/parsing) is inspired by Moment.js.

Examples

iex(1)> Moment.now()
%Moment{day: 11, hour: 15, minute: 8, month: 9, nanosecond: 228523000,
 offset: 540, second: 13, year: 2014}

iex(2)> Moment.utcnow()
%Moment{day: 11, hour: 6, minute: 8, month: 9, nanosecond: 84602000, offset: 0,
 second: 17, year: 2014}

iex(3)> Moment.format(Moment.now(), "YYYY/MM/DD HH:mm")
"2014/09/11 15:08"

iex(4)> Moment.parse!("2014/09/11 15:08", "YYYY/MM/DD HH:mm")
%Moment{day: 11, hour: 15, minute: 8, month: 9, nanosecond: 0, offset: 540,
 second: 0, year: 2014}