Narcotics and period

LeAnn

Odd question... Can narcotics (or i guess any type of medicine) delay your period?

I had surgery in the beginning of this month and had to take vicodin for about 4 days and now my period is 4 days late.

Could the medicine have delayed my period? Or is it more likely to be stress?