added new date method to js mastery