Methods | ||
---|---|---|
public
|
format(DateTimeInterface $date): string
Format a date and time
|
# |
public
|
parse(string $value): ?DateTimeImmutable
Convert a value to a date and time, or return null if it can't be parsed
Convert a value to a date and time, or return null if it can't be parsed Implemented by |
# |