set date using jquery as per membership type is done