int parse(DateTime $dateTime, string $value)
Parse a pattern based string to a timestamp value.
int parse(DateTime $dateTime, string $value)
Parse a pattern based string to a timestamp value.
DateTime | $dateTime | A configured DateTime object to use to perform the date calculation |
string | $value | String to convert to a time value |
int | The corresponding Unix timestamp |
InvalidArgumentException | When the value can not be matched with pattern |
Designed by : w10schools
service@w10schools.com
Please login to continue.