vendredi 23 août 2019

Laravel Carbon date in format 2017-12-01T16:48:00

How can I generate date time in format 2017-12-01T16:48:00 in Laravel 5.8? When I use this code:

Carbon::now()

I have result: 2019-08-24 15:07:27.629826 Europe/Warsaw (+02:00)

I need tomorrow's date in format 2019-08-24T15:08:00

How can I do it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire