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
day_fraction

d.day_fraction â rational Instance Public methods Returns the fractional part of the day. DateTime.new(2001,2,3,12).day_fraction #=> (1/2)

downto

d.downto(min) â enumeratord.downto(min){|date| ...} â self Instance Public methods This method is equivalent to step(min, -1){|date| â¦}.

england

d.england â date Instance Public methods This method is equivalent to #new_start(Date::ENGLAND).

friday?

d.friday? â bool Instance Public methods Returns true if the date is Friday.

gregorian

d.gregorian â date Instance Public methods This method is equivalent to #new_start(Date::GREGORIAN).

gregorian?

d.gregorian? â bool Instance Public methods Retunrs true if the date is on or after the day of calendar reform. Date.new(1582,10,15).gregorian? #=> true (Date.new(1582,10,15) - 1).gregorian? #=> false

httpdate 2

d.httpdate â string Instance Public methods This method is equivalent to strftime('%a, %d %b %Y %T GMT'). See also RFC 2616.

inspect

d.inspect â string Instance Public methods Returns the value as a string for inspection. Date.new(2001,2,3).inspect #=> "#<Date: 2001-02-03 ((2451944j,0s,0n),+0s,2299161j)>" DateTime.new(2001,2,3,4,5,6,'-7').inspect #=> "#<DateTime: 2001-02-03T04:05:06-07:00 ((2451944j,39906s,0n),-25200s,2299161j)>"

iso8601 2

d.iso8601 â stringd.xmlschema â string Instance Public methods This method is equivalent to strftime('%F').

italy

d.italy â date Instance Public methods This method is equivalent to #new_start(Date::ITALY).

Popular Articles
Model::newQueryWithoutScopes() Builder|Model newQueryWithoutScopes() Get a new query builder that doesn't have any global scopes. Return Value Builder|Model
sqlite3.Connection.set_trace_callback() set_trace_callback(trace_callback) Registers trace_callback to be called for each SQL statement that is actually executed by the SQLite backend. T
List of plugins config NormalModuleReplacementPlugin new webpack.NormalModuleReplacementPlugin(resourceRegExp, newResource) Replace resources that matches resourceRe
xCSS - Object-Oriented CSS Framework xCSS is the first CSS framework that allows you to work object-oriented and keeps your workflow as DRY as possible.   This CSS framework bases on CS
package_version package_version() Class Public methods


Page 152 of 11844

|< < Prev 149 150 151 152 153 154 155 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions