datetimepicker getDate to return Date / Time in UTC format
I happen to read this [datetimepicker][1] addon and found it to be of great use. The issue that I am facing using this tool is that I am unable to get data / time format in UTC or other formats (my intention is to at least get date / time in UTC format:


                                    $('#starttime').datetimepicker({
                                                    ampm: true,
                                                    showHour: true,
                                                    showMinute: true,
                                                    showSecond: false,
                                                    showMillisec: false,
                                                    timeFormat: 'hh:mm TT',
                                                    hourGrid: 4,
                                                    stepHour: 1,
                                                    minDate: minDate,
                                                    maxDate: maxDate,
                                                    stepMinute: 10
                                                 });

The below script prints me data / time in below format:

    var startDt = $('#starttime').datetimepicker('getDate');
    
    
    
    Tue May 01 2012 00:00:00 GMT+0530 (India Standard Time)

How can I change this format to any other lie 

DD-MM-YYYY or DD/MM/YYYY or in UTC format?


  [1]: http://trentrichardson.com/examples/timepicker/





datetimepicker getDate to return Date / Time in UTC format
===

I happen to read this [datetimepicker][1] addon and found it to be of great use. The issue that I am facing using this tool is that I am unable to get data / time format in UTC or other formats (my intention is to at least get date / time in UTC format:


                                    $('#starttime').datetimepicker({
                                                    ampm: true,
                                                    showHour: true,
                                                    showMinute: true,
                                                    showSecond: false,
                                                    showMillisec: false,
                                                    timeFormat: 'hh:mm TT',
                                                    hourGrid: 4,
                                                    stepHour: 1,
                                                    minDate: minDate,
                                                    maxDate: maxDate,
                                                    stepMinute: 10
                                                 });

The below script prints me data / time in below format:

    var startDt = $('#starttime').datetimepicker('getDate');
    
    
    
    Tue May 01 2012 00:00:00 GMT+0530 (India Standard Time)

How can I change this format to any other lie 

DD-MM-YYYY or DD/MM/YYYY or in UTC format?


  [1]: http://trentrichardson.com/examples/timepicker/




