# Expanded\_date-0.2.0

**URL:** <https://www.ruby-forum.com/t/expanded-date-0-2-0/99142>\
**Category:** Ruby\
**Created:** [July 20, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/expanded-date-0-2-0/99142 "2006-07-20T16:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotjuneshen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f19dbf/32.png) [@hotjuneshen](https://www.ruby-forum.com/u/hotjuneshen)\
**Post date:** [July 20, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/expanded-date-0-2-0/99142/1 "2006-07-20T16:14:09Z")

</div>

Adds extra functionality to the regular Date class.

I quite often run into date periods tied to beginning and end of  
months rather than specific dates. I.e. "end of March, end of April, . "  
instead of “31st March, 30th April, .”

expanded\_date expands date (wow) with methods like

.end\_of\_month  
.beginning\_of\_prev\_month  
.end\_of\_next\_month  
…  
etc

Nothing spectatular, but handy for me, maybe handy for someone else.

```
gem install expanded_date

```

All the best
