DEV Community

Cover image for Ruby gem for finding weekday of a date
Sourav das
Sourav das

Posted on • Edited on

3 1

Ruby gem for finding weekday of a date

I have created my first ruby gem named DayFinder

This gem is useful if you want to find the weekday of given date

Example:-

require 'DayFinder'
day=DayFinder.find 15,8,1947
puts day
#output
# Friday

Enter fullscreen mode Exit fullscreen mode

You have to provide the date as d-m-Y format.
So do you want to give it a try ?
Install and try now

Installation

gem 'DayFinder'
Enter fullscreen mode Exit fullscreen mode

And then execute:

$ bundle install
Enter fullscreen mode Exit fullscreen mode

Or install it yourself as:

$ gem install DayFinder
Enter fullscreen mode Exit fullscreen mode

The Github Repo:https://github.com/freakflames29/DayFinder
Rubgems.org:- https://rubygems.org/gems/DayFinder

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more