Hello, I need a little advice on this, it turns out that I have this chain
var timestamp = 20160525083000
then I want to divide it and try and what I need is that in the end I have two variables left
var1= 25-05-2016
and
var2= 08:30
I do not know if I'm on the right track but I did something like this:
var oFecha = timestamp;
var fecha_f = oFecha(0,7);
var oHora = timestamp;
var Hora = timestamp(8,11);
But I do not know how to order it or if what I did is fine because I try to test it on the console and it says undefined every time I declare a variable: /