📜  php 是日期时间 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:12.975000             🧑  作者: Mango

代码示例1
#Object oriented style

public DateTime::format(string $format): string
public DateTimeImmutable::format(string $format): string
public DateTimeInterface::format(string $format): string
  
#Procedural style

#date_format(DateTimeInterface $object, string $format): string
#Returns date formatted according to given format.