In my Rails database, I have a timestamp that looks like this 2010-12-22 18:21:46 UTC
. I need a way to just get the date 2010-12-22
from it without re-doing the database.
In my Rails database, I have a timestamp that looks like this 2010-12-22 18:21:46 UTC
. I need a way to just get the date 2010-12-22
from it without re-doing the database.