php excel reader 读取时间字段出错,谁会弄得
时间类型
9:20:00
读出来变成了
0.388888888889
谁会做????
------解决方案--------------------
$row = 1;$handle = fopen("test.csv","r");while ($data = fgetcsv($handle, 1000, ",")) { $num = count($data); echo "<p> $num fields in line $row: <br>\n"; $row++; for ($c=0; $c \n"; }}fclose($handle);#我用上面的代码获取#date#2011-4-21#的数据能正常获取#你的问题怎么解决的?</p>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/2154">
<img src="https://img.php.cn/upload/ai_manual/000/000/000/175680293593083.png" alt="凹凸工坊-AI手写模拟器">
</a>
<div class="aritcle_card_info">
<a href="/ai/2154">凹凸工坊-AI手写模拟器</a>
<p>AI手写模拟器,一键生成手写文稿</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="凹凸工坊-AI手写模拟器">
<span>500</span>
</div>
</div>
<a href="/ai/2154" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="凹凸工坊-AI手写模拟器">
</a>
</div>
<div class="clear"></div>
全网最新最细最实用WPS零基础入门到精通全套教程!带你真正掌握WPS办公! 内含Excel基础操作、函数设计、数据透视表等
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号