Change 24 hour time to 12 hour time

I need to change the time of the DHTMLX scheduler to 12 hour time, rather than military time/24 hour time. Any suggestions?

Using MVC4

Found out that I had to change %H to %h, but how to I make it show AM and PM?

use ‘%a’ or ‘%A’ for ‘am/pm’ and ‘AM/PM’ respectively