Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php is datetime

#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.
 
PREVIOUS NEXT
Tagged: #php #datetime
ADD COMMENT
Topic
Name
4+1 =