Forums
(@rahul300)
12 years, 3 months ago
DateTime::createFromFormat() is available in PHP version >=5.3. Hopefully you are using PHP Version less tha 5.3 You can use $timestamp = strtotime($yourFormattedDateTime); for lower version of php