... it is showing am hours when it should be pm and vise versa.
What can I do to change?
You cannot set "am" or "pm" but if those are incorrect then you're off by +/- 12 hours.
The date/time is coming from your server. Set the clock on your server if you have access.
Otherwise, simply set the timezone offset in the setup.cgi program. It's a positive or negative number representing an offset in minutes.
To add or subtract 12 hours, simply make your timezone offset "720" or "-720"