public Method

TimeZone.today

Return the current date in this time zone.

Source Code

# File active_support/values/time_zone.rb, line 199
def today
  tzinfo.now.to_date
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.