title: How can I compare two string format times?
body: <p>I have a collection called "project" which is having a field expected time and actual time both are in string format</p>
  
  <pre><code>{
      "_id" : ObjectId("5ce7455d77af2d1143f84d49"),
      "project_name" : "p1",    
      "expected" : "0:11:30",    
      "actual" : "7:30:00",    
  }
  </code></pre>
  
  <p>How can I compare two string format times using mongodb?
  I want to find if actual time is more than expected</p>