How to display Laravel model timestamps created_at and updated_at with microsecond precision
In the model you can set the value. And for additional timestamp fields apply it as follows.
GGAMI
In the model
protected $dateFormat = 'Y-m-d H:i:s.v';you can set the value.
And for additional timestamp fields
protected function casts(): array
{
return [
'apply_at' => 'datetime:Y-m-d H:i:s.v',
];
}apply it as follows.