removed deprecated calls to nsdate days months etc . replaced with new ones