Date of resignation generally specify that day when u have submitted your resignation letter, however after submitting your letter you have to serve notice period (mandatory in most cases)
On completion of your notice period, the last working day is considered as your date of leaving.