SyntaxFix
Write A Post
Hire A Developer
Questions
+ PC.GetHour(datetime) > 11 ? "pm" : "am"
For your example but there are better ways to format datetime.