mardi 22 septembre 2015

how to get Current Timestamp in Laravel 5

I want to get current timestamp in laravel 5 and I have done this-

$current_time = Carbon\Carbon::now()->toDateTimeString();

I am getting eror- 'Carbon not found'-

enter image description here

What can I do?

Can anyone help, please?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire