w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
name

name() Class Public methods Report class name as 'Time' to thwart type checking.

new

new(utc_time, time_zone, local_time = nil, period = nil) Class Public methods

+

+(other) Instance Public methods

-

-(other) Instance Public methods

<=>

<=>(other) Instance Public methods Use the time in UTC for comparisons.

acts_like_time?

acts_like_time?() Instance Public methods So that self acts_like?(:time).

advance

advance(options) Instance Public methods

ago

ago(other) Instance Public methods

as_json

as_json(options = nil) Instance Public methods Coerces time to a string for JSON encoding. The default format is ISO 8601. You can get %Y/%m/%d %H:%M:%S +offset style by setting ActiveSupport::JSON::Encoding.use_standard_json_time_format to false. # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json # => "2005-02-01T05:15:10.000-10:00" # With ActiveSupport::JSON::Encoding.use_standard_json_time_form

between?

between?(min, max) Instance Public methods Returns true if the current object's time is within the specified min and max time.

Popular Articles
tty.setraw() tty.setraw(fd, when=termios.TCSAFLUSH) Change the mode of the file descriptor fd to raw. If when is omitted, it defaults to termios.TCSAFLUSH, and
CI_Pagination::create_links() create_links() Returns: HTML-formatted pagination Return type: string Returns a “pagination” bar, containing the generated links or an empty str
EntityHandlerBase::$moduleHandler The module handler to invoke hooks on. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Entity/EntityHandlerBase.php, li
BlockBase::setConfiguration public BlockBase::setConfiguration(array $configuration) Sets the configuration for this plugin instance. Parameters array $configuration: An associ
directory? directory?() Instance Public methods


Page 2205 of 11844

|< < Prev 2202 2203 2204 2205 2206 2207 2208 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions