Compute which day of the week a d_time t is.
Integer in the range 0..6, where 0 represents Sunday and 6 represents Saturday.
See Implementation
Compute which day of the week a d_time t is.