Skip to content

Tag Archives: Ruby Time-class

Time#getgm() is a Time class method which returns the new Time object representing time in UTC. Syntax: Time.getgm() Parameter: Time values Return: the new Time… Read More
Time#friday?() is a Time class method which checks whether the time represent Friday. Syntax: Time.friday?() Parameter: Time values Return: true – if time represent Friday… Read More

Start Your Coding Journey Now!