Skip to content

SixArm/sixarm_ruby_date_time_random

Repository files navigation

SixArm.com → Ruby →
Date and Time #random methods

Gem Version Build Status Code Climate

Introduction

Generate random dates and times:

DateTime.random
Date.random
Time.random

The random range is +/- 10000 days.

For docs go to http://sixarm.com/sixarm_ruby_date_time_random/doc

Want to help? We're happy to get pull requests.

Install

Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_date_time_random

Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_date_time_random'

Require

To require the gem in your code:

require 'sixarm_ruby_date_time_random'

Releases

No releases published

Packages

No packages published

Languages