I am currently looking for a software/web development job preferably as a Rails-based developer.
Please email me at weston@westonganger.com. Thanks in advance for any leads!

How To Get Yesterdays Date In Ruby Or Rails

Posted by Weston Ganger

Rails has some awesome date & time methods.

Here’s a few to get the previous date.

# Ruby

# Rails
Date.today - 1.day

Related External Links:

Article Topic:Software Development - Rails

Date:February 15, 2016

Recommended Posts