static function getDatepickerFormat($in_format)
    {
        $retval = "";
        switch ($in_format) {
            case "d-m-Y":$retval = "dd-mm-yy";
                break;
            case "d/m/Y":$retval = "dd/mm/yy";
                break;
            case "m/d/Y":$retval = "mm/dd/yy";
                break;
            case "m-d-Y":$retval = "mm-dd-yy";
                break;
            case "Y/m/d":$retval = "yy/mm/dd";
                break;
            case "Y-m-d":$retval = "yy-mm-dd";
                break;

            default:
                $retval = "dd/mm/yy";
        }
        return $retval;
    }
static function getDatepickerFormat($in_format)
    {
        $retval = "";
        switch ($in_format) {
            case "d-m-Y":$retval = "dd-mm-yy";
                break;
            case "d/m/Y":$retval = "dd/mm/yy";
                break;
            case "m/d/Y":$retval = "mm/dd/yy";
                break;
            case "m-d-Y":$retval = "mm-dd-yy";
                break;
            case "Y/m/d":$retval = "yy/mm/dd";
                break;
            case "Y-m-d":$retval = "yy-mm-dd";
                break;

            default:
                $retval = "dd/mm/yy";
        }
        return $retval;
    }
static function getDatepickerFormat ( $ in_format ) { $ retval = "" ; switch ( $ in_format ) { case "d-m-Y" : $ retval = "dd-mm-yy" ; break ; case "d/m/Y" : $ retval = "dd/mm/yy" ; break ; case "m/d/Y" : $ retval = "mm/dd/yy" ; break ; case "m-d-Y" : $ retval = "mm-dd-yy" ; break ; case "Y/m/d" : $ retval = "yy/mm/dd" ; break ; case "Y-m-d" : $ retval = "yy-mm-dd" ; break ; default : $ retval = "dd/mm/yy" ; } return $ retval ; }
for the JUI date picker routine
for the JUI date picker routine