Can anyone help me with this?
I need to convert a given date in this format (ex.2007-04-16) to the day of the year (ex.105). I know how to do this for todays date with the date() function. I need to compare todays day of the year (0-365) to a past date.
I need to be able to mark 30 days past from a hire date to today's date.
ex.
hire date 70th day of the year
today 105th day of the year
Thanks,
Dave