All Projects → hemangshah → Datify

hemangshah / Datify

Licence: MIT license
Easypeasy date functions. 🕛

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Datify

dt
Go's missing DateTime package
Stars: ✭ 34 (-24.44%)
Mutual labels:  date
imrc-datetime-picker
(Improved) React component datetime picker by momentjs 📆
Stars: ✭ 21 (-53.33%)
Mutual labels:  date
prototyped.js
Some common Typescript prototypes
Stars: ✭ 22 (-51.11%)
Mutual labels:  date
CXDatePickerView
一个自定义的日期时间选择器
Stars: ✭ 62 (+37.78%)
Mutual labels:  date
time-formater
在javascript中显示日期。
Stars: ✭ 44 (-2.22%)
Mutual labels:  date
js-calendar
The lightest Javascript calendar out there, without any dependency.
Stars: ✭ 37 (-17.78%)
Mutual labels:  date
vue-translated
Internationalization (i18n) and localization (l10n) library for Vue.js v2.
Stars: ✭ 19 (-57.78%)
Mutual labels:  date
moment-cache
⏱ Simple utility to cache moment.js results and speed up moment calls.
Stars: ✭ 29 (-35.56%)
Mutual labels:  date
extract-date
Extracts date from an arbitrary text input.
Stars: ✭ 42 (-6.67%)
Mutual labels:  date
react-picky-date-time
A react component for date time picker. Online demo examples
Stars: ✭ 41 (-8.89%)
Mutual labels:  date
relative.time.parser
Moment.js Plugin for parsing Relative Time Strings
Stars: ✭ 13 (-71.11%)
Mutual labels:  date
date-format
A reliable way to format dates and times in Elm.
Stars: ✭ 48 (+6.67%)
Mutual labels:  date
LunarCalendar
A lightweight macOS App for displaying calendar and time
Stars: ✭ 82 (+82.22%)
Mutual labels:  date
shamsi date
A Flutter and Dart package for using Jalali (Shamsi, Solar, Persian or Jalaali) calendar. You can convert, format and manipulate Jalali and Gregorian (Miladi) date and times.
Stars: ✭ 59 (+31.11%)
Mutual labels:  date
vue-date-fns
Date filter for Vue based on the date-fns.
Stars: ✭ 21 (-53.33%)
Mutual labels:  date
active-date-range
Powerful DateRanges for Ruby and ActiveSupport
Stars: ✭ 38 (-15.56%)
Mutual labels:  date
chronos
One library to rule the time
Stars: ✭ 17 (-62.22%)
Mutual labels:  date
ember-dayjs-helpers
Ember Template helpers based on day.js
Stars: ✭ 19 (-57.78%)
Mutual labels:  date
wareki
Utility function for Japanese calender.
Stars: ✭ 23 (-48.89%)
Mutual labels:  date
rescript-date
📆 Date manipulation in ReScript.
Stars: ✭ 101 (+124.44%)
Mutual labels:  date

Datify 🕛

Easypeasy date functions.

License Platform Swift 3.x MadeWithLove Awesome-Swift

Usage:

print("now:                   \(Date.init())")
print("8 days later:          \(8.days.fromNow)")
print("2 weeks before:        \(2.weeks.ago)")
print("5 days, 3 month later: \((5.days + 3.months).fromNow)")

Output:

now:                   2017-06-06 10:42:23 +0000
8 days later:          2017-06-14 10:42:23 +0000
2 weeks before:        2017-05-23 10:42:23 +0000
5 days, 3 month later: 2017-09-11 10:42:23 +0000

Note:

This library was originally written as SwiftDateTimeExtensions but it was too old for new Swift version and needed improvements.

I am also planning to add more features to this class in future thus created a separate repo instead a fork.

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].