FunctionsyearsToDays()On this pageyearsToDays() Returns the number of days equal to the given number of years. Usage import { yearsToDays } from 'easy-dates';yearsToDays(years); Prop types proptyperequireddefaultyearsnumberyesnull Examples yearsToDays(1); // 365 yearsToDays(3); // 1095 yearsToDays('3'); // Error