Datedif is not available in excel

I am learning DATA ANALYTICS. There you explained about DATEDIF function. But the function is not available in Excel 2016. I want to know how to make it available in excel so that i can practice on it.

This formula exsist in ms Excel. dateif not available in any ms Excel version .