The datetime type is in mssql and cannot be displayed.
stock2
stock2 2019-05-03 21:51:04
0
2
1131

[Pre-billing date] => DateTime Object ( [date] => 2019-03-17 00:00:00.000000 [timezone_type] => 3 [timezone] => PRC )

[Advance receipt date] => DateTime Object ( [date] => 2019-04-01 00:00:00.000000 [timezone_type] => 3 [timezone] => PRC )

Judgment For the date format, use
echo "{$key} -> ".date_format($val,"Y-m-d") ." <br />";
Still not working. Please tell me how to convert the format. Thank you.

stock2
stock2

asp转php

reply all(2)
stock2

Thank you for your reply. Theoretically, few people use mssql. But there should be a solution for this type. I finally converted it into a string when querying in mssql. It was OK. If I used * it would not work.

失去过去

In mysql, few people use datetime data. They all directly pass the timestamp of char or int, and use date() when reading.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template