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
to_datetime

d.to_datetime â datetime Instance Public methods Returns a DateTime object which denotes self.

to_json

to_json(*args) Instance Public methods Stores class name (Date) with Julian year y, month m, day d and Day of Calendar Reform sg as JSON string

to_s

d.to_s â string Instance Public methods Returns a string in an ISO 8601 format (This method doesn't use the expanded representations). Date.new(2001,2,3).to_s #=> "2001-02-03"

to_time

d.to_time â time Instance Public methods Returns a Time object which denotes self.

tuesday?

d.tuesday? â bool Instance Public methods Returns true if the date is Tuesday.

upto

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

wday

d.wday â fixnum Instance Public methods Returns the day of week (0-6, Sunday is zero). Date.new(2001,2,3).wday #=> 6

wednesday?

d.wednesday? â bool Instance Public methods Returns true if the date is Wednesday.

xmlschema 2

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

yday

d.yday â fixnum Instance Public methods Returns the day of the year (1-366). Date.new(2001,2,3).yday #=> 34

Popular Articles
EntityController Provides the add-page and title callbacks for entities. It provides: The add-page callback. An add title callback for entity types. An add title call
lua_seti lua_seti[-1, +0, e] void lua_seti (lua_State *L, int index, lua_Integer n); Does the equivalent to t[n] = v, where t is the value at the given ind
entropy entropy skimage.filters.rank.entropy(image, selem, out=None, mask=None, shift_x=False, shift_y=False) [source] Local entropy. The entropy is compu
Graphics#centerY centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2). Inherited From Phaser.Component.Bou
shift shift ARRAY shift EXPR shift Shifts the first value of the array off and returns it, shortening the array by 1 and moving everything down. If there a


Page 156 of 11844

|< < Prev 153 154 155 156 157 158 159 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions