for (let i = 0; i < res.data.data.length - 1; i++) {
var ss = res.data.data[i]["start_at"];
var a1 = ss.split(" ");
var s1 = a1[0];
data[i].created_at = a1[0];
res.data.data[i]["start_at"] = a1[0];
var date = ss.substr(0, 10);
var hour = ss.substr(11, 2) == '00' ? 0 : ss.substr(11, 2).replace(/\b(0+)/gi, "")
var minute = ss.substr(14, 2) == '00' ? 0 : ss.substr(14, 2).replace(/\b(0+)/gi, "")
var second = ss.substr(17, 2) == '00' ? 0 : ss.substr(17, 2).replace(/\b(0+)/gi, "")
var timestamp = parseInt(new Date(date).getTime() / 1000) + parseInt(hour) * 3600 + parseInt(minute) * 60 + parseInt(second) - 28800
console.log(timestamp);
}