i solved:
created a helper function
public static function sqlDate($date)
{
$timezone = 'Europe/Berlin';
$format = 'd.m.Y';
return DateTime::createFromFormat($format, $date, new DateTimeZone($timezone))->format('Y-m-d');
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community