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 print eachProcName.start
it prints the start date like this: 2015-06-08 12:05:48.835000
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 if eachProcName.start > startDate and eachProcName.start < endDate
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!