るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.148秒)

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

ライブラリ

クラス

検索結果

Time#mday -> Integer (63925.0)

日を整数で返します。

日を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5) # => 2000-01-02 03:04:05 +0900
p t.day # => 2
p t.mday # => 2
//}

Date#mday -> Integer (63907.0)

月の日を返します (1-31)。

月の日を返します (1-31)。

Time#day -> Integer (18625.0)

日を整数で返します。

日を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5) # => 2000-01-02 03:04:05 +0900
p t.day # => 2
p t.mday # => 2
//}

Date#day -> Integer (18607.0)

月の日を返します (1-31)。

月の日を返します (1-31)。