Methods | ||
---|---|---|
public
|
parse(string $value, ?DateTimeZone $timezone = null): ?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 If the value does not specify a timezone, one of the following is used during parsing:
If Implemented by |
# |