12 hr format inside lightbox time selection


Please help me for displaying 12 hr clock timings inside lightbox time select box. i am using Asp.net .

i am using the following code to display time selectbox

Dim tme As New Controls.LightboxTime("time") tme.MapTo = "auto" Scheduler.Lightbox.Add(tme)

how should i modify

time:{ render:function(){
in dhtmlscheduler.js for displaying 12 hr format that is 01:00 PM like this?

please suggest. thanks for any help

i solved it by using this

var format = scheduler.date.date_to_str('%h:%i %A');scheduler.templates.time_picker =function(date){return format(date);

hope this can help someone