插入日期
函数原型
insertDate(int $row, int $column, int $timestamp[, string $dateFormat = 'yyyy-mm-dd hh:mm:ss', resource $formatHandler])int $row
单元格所在行
int $column
单元格所在列
int $timestamp
需要写入的时间戳
string $dataFormat
时间格式化字符
默认值:yyyy-mm-dd hh:mm:ss
resource $formatHandler
单元格样式
示例
时间格式化字符示例
更多样式请参考 Excel 微软文档
Last updated
Was this helpful?