Any views on this matter? Please...

Should be;
I keep getting AM/PM format when it reflects a time that occured the same day or yesterday.