The time class.
Returns the current Time object.
Returns a time that is later than self by other seconds.
When other is a Time object, returns the difference between the two times with Float. If other is a numeric value, returns a time that is earlier than self by other.
Compares times. other must be a Time object or a numeric value. If it is a numeric value, the times are compared in terms of seconds since the epoch began.
Returns the time converted into a string via a format string. The format string may be specified with the following:
%A
Day of the week (Sunday, Monday ... )
%a
Day of the week in abbreviated form (Sun, Mon ... )
%B
Month (January, February ... )
%b
Month in abbreviated form (Jan, Feb ... )
%c
Date and time
%d
Day of the month (01-31)
%H
Time of day in 24-hour format (00-23)
%I
Time of day in 12-hour format (01-12)
%j
Day of the year (001-366)
%M
Minutes (00-59)
%m
Month of the year (01-12)
%p
AM or PM
%S
Seconds (00-60, 60 being a leap second)
%U
Week of the year, with the first week starting on the first Sunday (00-53)
%W
Week of the year, with the first week starting on the first Monday (00-53)
%w
Day of the week (0-6 where 0 denotes Sunday)
%X
Time
%x
Date
%Y
Year in 4-digit format
%y
Year in 2-digit format (00-99)
%Z
Time zone
%%
The character %
Returns the seconds.
Returns the minutes.
Returns the hour.
Returns the day.
Returns the month.
Returns the year.
Returns the number representing the day of the week.