mercredi 5 décembre 2018

Carbon convert no of days to day month year [duplicate]

This question already has an answer here:

I am trying to convert no of days to day month year using laravel carbon but it only shows year not month and days

Carbon::now()->subDays(1728)->diffForHumans())

output showing is

"4 years ago" 

is there any method in carbon which i can show day month year



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2G2QPNz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire