{"action":"opened","issue":{"url":"https://api.github.com/repos/briannesbitt/Carbon/issues/573","labels_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/573/comments","events_url":"https://api.github.com/repos/briannesbitt/Carbon/issues/573/events","html_url":"https://github.com/briannesbitt/Carbon/issues/573","id":125819834,"number":573,"title":"How to find the beginning of the last x quarters - Carbon::now()->subQuarters(3) needed?","user":{"login":"andreasba","id":15323226,"avatar_url":"https://avatars.githubusercontent.com/u/15323226?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasba","html_url":"https://github.com/andreasba","followers_url":"https://api.github.com/users/andreasba/followers","following_url":"https://api.github.com/users/andreasba/following{/other_user}","gists_url":"https://api.github.com/users/andreasba/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasba/subscriptions","organizations_url":"https://api.github.com/users/andreasba/orgs","repos_url":"https://api.github.com/users/andreasba/repos","events_url":"https://api.github.com/users/andreasba/events{/privacy}","received_events_url":"https://api.github.com/users/andreasba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-10T13:45:30Z","updated_at":"2016-01-10T13:45:30Z","closed_at":null,"body":"Hello,\r\n\r\nfirst of all thanks for this great library! I am new to Laravel and use Carbon extensively.\r\n\r\nNow I am running into a problem where I am not sure whether I can easily solve this with the current feature set. What I want to do is\r\n```PHP\r\nCarbon::now()->subQuarters(3)\r\n```\r\nThat means I want to find the beginning of -3 quarters. So if you take today, I want to be able to get the first day of the 3rd quarter of 2015, for example.\r\n\r\nI thought about using firstDayOfMonth()->subMonths(3) but this is not clean, obviously. Then I thought about getting the current month, manually checking in which quarter it is and returning the difference in months to the beginning of this quarter. But it all is a mess.\r\n\r\nIs there any way to achieve what I am trying to do?\r\n\r\nThanks\r\nAndreas"}}