may I know how to display the week number of a date in phpexcel ??
$objPHPExcel->getActiveSheet()->setCellValue('AC1', "=WEEKNUM(I30,2)");
my code above dint work. is it any syntax error??
may I know how to display the week number of a date in phpexcel ??
$objPHPExcel->getActiveSheet()->setCellValue('AC1', "=WEEKNUM(I30,2)");
my code above dint work. is it any syntax error??
这是来自办公套件网站的 WeekNum 方法。只要您正确设置参数并使用有效的 DATE,就应该没问题。
实际上,在查看 PHPExcel 1.7.8 文档(函数参考,第 39 页)后,似乎不支持 WEEKNUM 函数。