title: Compare start and end dates
body: <p>I am working with Carbon Black (cbapi) and in that, i have it iterating through processes on a computer and listing the start date of the process and a bunch of other details about the process. Issuing this command <code>print eachProcName.start</code> it prints the start date like this: <code>2015-06-08 12:05:48.835000</code></p>
  
  <p>Now, my problem is that I want to create a filter so that it only displays between the dates that a user specifies. The user could enter the start and end date and the program would print all the processes between the starting and ending date. Something like <code>if eachProcName.start &gt; startDate and eachProcName.start &lt; endDate</code></p>
  
  <p>I have tried a number of thngs, such as strftime, and a few other methods of trying to convert the date and time the process was started to a string or a group of integers, but I've tried everything I know how to do, so I was wondering if someone could explain the easiest way to do this and where I went wrong. Thank you!</p>