simple method to convert to days