Changing the date does not affect am/pm.
Edit to add: if you do just change the date, check with your manual for what times it is safe to do this at - you can damage the mechanism if you change the date when the date wheel is engaged. On most mechanical watches the danger zone is within 21:00 to 03:00 but this varies so please do check.