23
rated 0 times
[
24]
[
1]
/ answers: 1 / hits: 16315
/ 10 Years ago, wed, february 12, 2014, 12:00:00
new Date(timestamp).getHours();
new Date(timestamp).getMinutes();
I have a timestamp, i convert it to h/m, ex.00:00
how can I convert it to the format with 2 digit style, what I have now is 0:0
More From » javascript