You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to read and update the dates which are Carbon instances.
For reading,
I convert the Carbon instance to array when I read the date value. But I don't think this is the right way of doing it. Also, the PACE system only stores the date value but when I look at the carbon instance value in the API, the 'date' is displaying as date time value.
e.g. +"date": "2015-07-31 04:00:00.000000"
+"timezone_type": 3
+"timezone": "UTC"
For updating,
If I update the value with just a date ('Y-m-d'), would it cause an issue? Also, how do I update these date values?
Thanks,
Ryan
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to read and update the dates which are Carbon instances.
For reading,
I convert the Carbon instance to array when I read the date value. But I don't think this is the right way of doing it. Also, the PACE system only stores the date value but when I look at the carbon instance value in the API, the 'date' is displaying as date time value.
e.g. +"date": "2015-07-31 04:00:00.000000"
+"timezone_type": 3
+"timezone": "UTC"
For updating,
If I update the value with just a date ('Y-m-d'), would it cause an issue? Also, how do I update these date values?
Thanks,
Ryan
The text was updated successfully, but these errors were encountered: