1

I am using JQuery datepicker ,I want to set middle east time format in date picker. which is 1.30 hours less than my time.How it is possible

My Jquery code is

$("#effectiveDateId").datepicker({
    inline: true,
    //nextText: '→',
    //prevText: '←',
    showOtherMonths: true,
    //dateFormat: 'dd MM yy',
    //dayNamesMin: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
    //showOn: "button",
    buttonImage: "img/calendar-blue.png",
    //buttonImageOnly: true,

    dateFormat: 'dd/mm/yy'
});
guradio
  • 15,524
  • 4
  • 36
  • 57
Rakesh R
  • 11
  • 1

1 Answers1

1

i hope solve your problem after read out this

date_default_timezone_set("Asia/Karachi"); echo date_default_timezone_get(); Generating a drop down list of timezones with PHP

http://php.net/manual/en/timezones.asia.phpenter link description here

Community
  • 1
  • 1
Ghulam Abbas
  • 515
  • 2
  • 10
  • 23