Similar Collections


This study list contains Ruby Date and Time, practice these Ruby programs to learn the concept of Ruby Date and Time, these programs contain the solved code, outputs, and the detailed explanation of the statements, functions used in the Ruby Date and Time.

questions

Title
Ruby program to get current date-time using inspect() method
Ruby program to get the individual components of the current date-time
Ruby program to get the current weekday
Ruby program to get the current time zone
Ruby program to get the current day of the year out of 365
Ruby program to get the current weekday in 3 characters using strftime() method
Ruby program to get the current weekday name using strftime() method
Ruby program to get the current month name in 3 characters using strftime() method
Ruby program to get the current month name using strftime() method
Ruby program to get the current date-time using strftime() method
Ruby program to get the current day number of the month using strftime() method
Ruby program to get the current hour of the day in the 24-hour format using strftime() method
Ruby program to get the current hour of the day in 12-hour format using strftime() method
Ruby program to get the current day of the year using the strftime() method
Ruby program to get the current month of the year using the strftime() method
Ruby program to get the current minute of the hour using strftime() method
Ruby program to get the current second of minute using strftime() method
Ruby program to get the current week-number of the year using strftime() method
Ruby program to get the Meridian indicator using strftime() method
Ruby program to get the current week-number of the year, starting with the first Monday as the first day of the first week
total questions: 26

Questions

26

Views

382

Best Answers

299

Points

5