# Anybody have a week ending date helper?

**URL:** <https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123>\
**Category:** Rails\
**Created:** [August 15, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123 "2007-08-15T17:39:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://www.ruby-forum.com/u/ryan)\
**Post date:** [August 15, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123/1 "2007-08-15T17:39:05Z")

</div>

Can you make any of the built-in date helpers produce a week ending  
combo box? I don’t want drop down boxes, just one. With the options  
being every Friday for the last x number of weeks in the format mm/dd/  
yyyy. That should be saved into a datetime column in the database.

Before writing it myself, it just seemed like a common enough need I’m  
surprised it’s not already in there. (or it’s hard to find)

Regards,  
Ryan

---

<div class="post-metadata">

**Author:** ![ryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://www.ruby-forum.com/u/ryan)\
**Post date:** [August 15, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123/2 "2007-08-15T17:42:05Z")

</div>

Ooop, that should read “I don’t want multiple drop down boxes, just  
one.”
