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