First page Back Continue Last page Overview Graphics


Notes:

Another strange result related to offsets is when you mix date and datetime objects in calculations.

For example, take the given calculation. You have a datetime for today's date at noon local time. You subtract from it a date object for today's date. What do you expect to receive?

My personal intuition is that you should receive one half, since the datetime is half a day ahead of the date.