我在用着Aws\Ec2\Ec2Client
当我打印时, $instance['LaunchTime']我得到:
Aws\Api\DateTimeResult Object
(
[date] => 2020-03-03 17:13:13
[timezone_type] => 2
[timezone] => Z
)
不幸的是,我无法获得date价值。
$dt = $instance['LaunchTime'];
print($dt->date); //does not work
print($dt['date']); //does not work
MMMHUHU
有只小跳蛙
森栏