title: R How to Split given Time Periods in interval of 30 days in R
body: <p>I have data with Order Id, Start Date &amp; End Date. I have to <strong>split</strong> both the <strong>Start and End dates</strong> into <strong>intervals of 30 days</strong>, and derive two new variables “split start date” and “split end date”.
  Example: The below example illustrates how split dates are created when the Start Date is “01/05/2017” and the End Date is “06/07/2017” 
  Suppose, an order have start and end dates as below</p>
  
  <p><a href="https://i.stack.imgur.com/jyom6.png" rel="nofollow noreferrer">see the image for example</a></p>
  
  <p>What is the code for this problem in R ?</p>