added day legth unix time function WIP tho