Level 122
Nov 9, 2018
4
Level 6
How to access date in a Carbon instance?
Assuming we have a Carbon instance of the date like so:
"created_at": {
"date": "2018-11-05 18:23:54.000000",
"timezone_type": 3,
"timezone": "UTC"
}
How do I access the mere date? I've tried ->date and ->getDate(), but to no avail.
Please or to participate in this conversation.