created day's to hours conversion