mardi 3 décembre 2019

in laravel how to get duration value with column join date and completion date

i am trying to display duration value, using database "column name" ( "date_of_join" ,"date_of_completion") value in view

like ( 1/1/2018 to 1/1/2019 ) this value show like ( 1 year )

( 1/1/2018 to 1/2/2018 ) value show like ( 1 month )

( 1/1/2018 to 10/2/2018 ) value show like (1 month 10 days )

how to do this in laravel



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire