Time Calculation « Time « Ruby






1.You can see the difference in two Time objects by subtracting them:
2.Add seconds and multiples of seconds to add to a time with +
3.Doing Time Arithmetic
4.Finding the Day of the Week
5.Is it a leap year