Date and time formats 2

The following describes the allowed date and time formats when using them for the difference between two dates and times:

Character Description
yyyy Year
q Quarter
m Month
y Day of year
d Day
w Weekday
ww Week
h Hour
n Minute
s Second