Skip to content
class method

DateTime.new

(?::Integer year, ?::Integer month, ?::Integer mday, ?::Integer hour, ?::Integer minute, ?::Integer second, ?::Integer offset, ?::Integer start) -> ::DateTime
new(*args)

Same as DateTime.new.

See also .json_create .now .jisx0301 .ordinal also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0