Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.7k+ articles
School Learning
11.6k+ articles
JavaScript
11.5k+ articles
Java
10.3k+ articles
Ruby
1.1k+ articles
Ruby-Methods
910+ articles
Ruby Time-class
62 posts
Popular Articles
Recent Articles
Ruby | Time to_datetime() function
Last Updated: 06 January 2020
Time#to_datetime() is a Time class method which returns a date time object of itself. Syntax: Time.to_datetime()Parameter: Time valuesReturn
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time utc function
Last Updated: 06 January 2020
Time#utc() : utc() is a Time class method which returns the conversion of time to UTC (GMT), modifying the receiver.Syntax: Time.utc()Parame
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time usec function
Last Updated: 06 January 2020
Time#usec() is a Time class method which returns the number of microseconds for time.Syntax: Time.usec()Parameter: Time valuesReturn: the nu
...read more
Ruby
Ruby-Methods
Ruby Time-class
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.7k+ articles
School Learning
11.6k+ articles
JavaScript
11.5k+ articles
Java
10.3k+ articles
Ruby
1.1k+ articles
Ruby-Methods
910+ articles
Ruby | Time now() function
Last Updated: 07 January 2020
The now() is an inbuilt method in Ruby returns the current time.Syntax: time.now()Parameters: The function accepts no parameterReturn Value
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time month() function
Last Updated: 07 January 2020
The month() is an inbuilt method in Ruby returns the month of the year for time.Syntax: time.month()Parameters: The function accepts no par
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time dst?() function
Last Updated: 07 January 2020
The dst?() is an inbuilt method in Ruby returns true if time occurs during Daylight Saving Time in its time zone otherwise falseSyntax: tim
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time zone() function
Last Updated: 07 January 2020
Time#zone() : zone() is a Time class method which returns the name of the time zone used for time like "UTC", "GMT". Syntax: Time.zone()Para
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time wday function
Last Updated: 07 January 2020
Time#wday() is a Time class method which returns the integer representing the day of the week, 0..6, with Sunday == 0.Syntax: Time.wday()Par
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time to_i() function
Last Updated: 07 January 2020
Time#to_i() is a Time class method which returns the value of time as an integer number of seconds since the Epoch.Syntax: Time.to_i()Parame
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time strftime() function
Last Updated: 07 January 2020
Time#strftime() is a Time class method which returns the time format according to the directives in the given format string.Syntax: Time.str
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time localtime() function
Last Updated: 07 January 2020
Time#localtime() : localtime() is a Time class method which returns local time (using the local time zone in effect at the creation time of
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time iso8601 function
Last Updated: 07 January 2020
Time#iso8601() : iso8601() is a Time class method which returns the time in 8601 format as per the ISO standards. Syntax: Time.iso8601()Para
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time to_f function
Last Updated: 07 January 2020
Time#to_f() : to_f() is a Time class method which returns the value of time as a floating point number of seconds since the Epoch.Syntax: Ti
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time round function
Last Updated: 07 January 2020
Time#round() is a Time class method which returns a new time object by rounding sub seconds to a given precision in decimal digits.Syntax: T
...read more
Ruby
Ruby-Methods
Ruby Time-class
Ruby | Time utc_offset function
Last Updated: 07 January 2020
Time#utc_offset() is a Time class method which returns the offset in seconds between the timezone of time and UTC.Syntax: Time.utc_offset()P
...read more
Ruby
Ruby Time-class
1
2
3
4
5
>>
Last
1
2
3
4
5
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !