Returns the day from the specified time value. Will use the current time if none is provided.
1 number time
time value.
1 number
the day.