static function getDatepickerLanguage($in_format)
    {
        $retval = "";
        switch ($in_format) {
            case "en-GB":$retval = "en-GB";
                break;
            case "ar-DZ":$retval = "ar-DZ";
                break;
            case "en-AU":$retval = "en-AU";
                break;
            case "en-NZ":$retval = "en-NZ";
                break;
            case "fr-CN":$retval = "fr-CH";
                break;
            case "pt-BR":$retval = "pt-BR";
                break;
            case "sr-SR":$retval = "sr-SR";
                break;
            case "zh-HK":$retval = "zh-HK";
                break;
            case "zh-TW":$retval = "zh-TW";
                break;
            case "zh-CN":$retval = "zh-CN";
                break;
            case "en_gb":$retval = "en-GB";
                break;
            case "ar_dz":$retval = "ar-DZ";
                break;
            case "en_au":$retval = "en-AU";
                break;
            case "en_nz":$retval = "en-NZ";
                break;
            case "fr_cn":$retval = "fr-CH";
                break;
            case "pt_br":$retval = "pt-BR";
                break;
            case "sr_sr":$retval = "sr-SR";
                break;
            case "zh_hk":$retval = "zh-HK";
                break;
            case "zh_tw":$retval = "zh-TW";
                break;
            case "zh_cn":$retval = "zh-CN";
                break;
            default:
                $retval = substr($in_format, 0, 2);
        }
        return $retval;
    }
static function getDatepickerLanguage($in_format)
    {
        $retval = "";
        switch ($in_format) {
            case "en-GB":$retval = "en-GB";
                break;
            case "ar-DZ":$retval = "ar-DZ";
                break;
            case "en-AU":$retval = "en-AU";
                break;
            case "en-NZ":$retval = "en-NZ";
                break;
            case "fr-CN":$retval = "fr-CH";
                break;
            case "pt-BR":$retval = "pt-BR";
                break;
            case "sr-SR":$retval = "sr-SR";
                break;
            case "zh-HK":$retval = "zh-HK";
                break;
            case "zh-TW":$retval = "zh-TW";
                break;
            case "zh-CN":$retval = "zh-CN";
                break;
            case "en_gb":$retval = "en-GB";
                break;
            case "ar_dz":$retval = "ar-DZ";
                break;
            case "en_au":$retval = "en-AU";
                break;
            case "en_nz":$retval = "en-NZ";
                break;
            case "fr_cn":$retval = "fr-CH";
                break;
            case "pt_br":$retval = "pt-BR";
                break;
            case "sr_sr":$retval = "sr-SR";
                break;
            case "zh_hk":$retval = "zh-HK";
                break;
            case "zh_tw":$retval = "zh-TW";
                break;
            case "zh_cn":$retval = "zh-CN";
                break;
            default:
                $retval = substr($in_format, 0, 2);
        }
        return $retval;
    }
static function getDatepickerLanguage ( $ in_format ) { $ retval = "" ; switch ( $ in_format ) { case "en-GB" : $ retval = "en-GB" ; break ; case "ar-DZ" : $ retval = "ar-DZ" ; break ; case "en-AU" : $ retval = "en-AU" ; break ; case "en-NZ" : $ retval = "en-NZ" ; break ; case "fr-CN" : $ retval = "fr-CH" ; break ; case "pt-BR" : $ retval = "pt-BR" ; break ; case "sr-SR" : $ retval = "sr-SR" ; break ; case "zh-HK" : $ retval = "zh-HK" ; break ; case "zh-TW" : $ retval = "zh-TW" ; break ; case "zh-CN" : $ retval = "zh-CN" ; break ; case "en_gb" : $ retval = "en-GB" ; break ; case "ar_dz" : $ retval = "ar-DZ" ; break ; case "en_au" : $ retval = "en-AU" ; break ; case "en_nz" : $ retval = "en-NZ" ; break ; case "fr_cn" : $ retval = "fr-CH" ; break ; case "pt_br" : $ retval = "pt-BR" ; break ; case "sr_sr" : $ retval = "sr-SR" ; break ; case "zh_hk" : $ retval = "zh-HK" ; break ; case "zh_tw" : $ retval = "zh-TW" ; break ; case "zh_cn" : $ retval = "zh-CN" ; break ; default : $ retval = substr ( $ in_format , 0 , 2 ) ; } return $ retval ; }
for loading the apprpriate data picket
for loading the apprpriate data picket