How to Extract Day Number of the Year from a Date in Python?