calculation of gratuity

Pavithra Rama (47 Points)

12 July 2018  
if I have worked only for 15 in the month of resignation, what would be my last drawn salary i.e., either 15 days salary received or average of 30 days??