Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

carbon to mysql datetime

// Use ->toDateTimeString() on  your carbon instance.

Carbon::create("2021-07-11")->toDateTimeString();  // "2021-07-11 00:00:00"
 
PREVIOUS NEXT
Tagged: #carbon #mysql #datetime
ADD COMMENT
Topic
Name
1+9 =