Pain in general can vary depending on the type of pain. Generally in an inflammatory situation, pain is worse during the night and in the morning with increased stiffness. A mechanical problem is worse end of day due to use. Morning pain and stiffness are not enough to diagnose ankylosing spondylitis. A genetic marker detected through a blood test is often used to arrive at a diagnosis of ankylosing spondylitis. This condition is not common and generally effects a certain demographic.