Sql Date String Format Javascript Output Array Matlab Simulink