How to convert day of the year to date in ios?

How to Select days between two datetime in android?

How to update Java timer every second?