Added two more functions

dateDiff, validateEmail