I'm working converting a number that is a day of a year into a day, month, and year along with a name of the day. I'm thinking of ways to do this and the only way I can come up with is using a ton of if statements to convert a day in between two certain number of days and turning them into a month. Then when getting the day of a month I subtract the number of days in the months before that date. I was wondering if there is a way to do this simpler than I currently am doing it.