Added date joined function

date joined function