Take a look at the documentation of Carbon: http://carbon.nesbot.com/docs/#api-localization
Aug 30, 2015
4
Level 7
Laravel Carbon date convertion
I have two attributes in my table created_at, updated_at.
Now in my view while getting created_at I wanna change:
1-The timezone for another country (for example UAE)
2-convert time to current time of that zone.
how do I do this?
Please or to participate in this conversation.