Error when calculating the number of days between 2 dates

Welcome back to the community, @Patricio_Andres84! Have you tried this approach discussed previously: