date format to be fixed by using strftime