you will have to use mktime so get the correct day and the correct month for that day. what is your date forma t you are using?