Date-Time
JQuery <script type="text/javascript> jQuery(".dateFormat").hide(); </script> Standard <script type="text/javascript> var x = document.querySelectorAll(".dateFormat"); for (var i in x) { x[i].style.display = 'none'; } </script>
join("", array( $this -> Form -> year("sales_to"), "/", $this -> Form -> month("sales_to", array('monthNames' => false)), "/", $this -> Form -> day("sales_to"), " ", $this -> Form -> hour("sales_to", true), ":", $this -> Form ->…
Controller public function index($y=null,$m=null) { $y=$y?:date("Y"); $m=$m?:date("m"); $array=array( date("Y/m/d",mktime(0,0,0,$m+0,1,$y)), date("Y/m/d",mktime(0,0,0,$m+1,0,$y)) ); $tsta=$array[0]; $tend=$array[1]; $i=0; while(strcmp(date…