Tip of the Day

June 19th, 2013

I’ve only ever used Date.today and Time.now to get the current date and time. But for those of us concerned with global timezones (and who isn’t), we should really be using the .current method.

Date.current is a rails core extension that gets the current date in the set time zone.


Entry Filed under: Professional,Ruby on Rails

Leave a Comment


Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed



Black women worked all of 2019 and this far into 2020 to earn the same as white men. fortune.com/2020/08/13/bla… Resources: Support equal pay equalpaytoday.org State of Black Women in Corporate America leanin.org Negotiate your salary bit.ly/30TFhVb

About 2 hours ago from Liana Leahy's Twitter via Twitter Web App