Ruby on Rails
PhpDate_default_timezone_get

Date_default_timezone_get

PHP prototype:

string date_default_timezone_get ( void )

Ruby equivalent:

Ruby doesn’t internally use labelled timezones, but they are available to Rails: HowtoSetDefaultTimeZone

If you want to see how Ruby handles timezones, check here:

http://www.ruby-doc.org/core/classes/DateTime.html