pasupathi022's avatar

->diffForHumans() ago only show

$restaurant->created_at->diffForHumans;

Help me on this

0 likes
2 replies
tykus's avatar

It is a method (diffForHumans()) not a property.

Aside from that what problem are you actually having?

pasupathi022's avatar

@tykus thanks for replying diffForHumans() This is the function I am using but returns only "ago"

Please or to participate in this conversation.