var date = new Date("2022-02-25");
var formattedDate = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
export_array_to_STYLES({
key: ["date"],
title: ["时间"],
widthList: [100],
data: [{date:formattedDate.split(" ")[0]}],
align: ["center"],
filename: '持仓合约详情',
autoWidth: true
});
return ;
~~~··
网友评论