  function catcalc(cal) {
        var date = cal.date;
        var time = date.getTime()
       
    }
    Calendar.setup({
        inputField     :    "fecha",           //*
        ifFormat       :    "%A, %e %b, %Y",
        showsTime      :    true,
        button         :    "f_trigger_a",        //*
        step           :    1
    });
	 Calendar.setup({
        inputField     :    "fecha",   // id of the input field
        ifFormat       :    "%A, %e %b, %Y",      // format of the input field
        showsTime      :    true,
        timeFormat     :    "24",
        onUpdate       :    catcalc
    });
                          