On our site, users can perform searches. We log the start time and end time of each search, and are now curious to find all the searches that took longer than X time.
I have a Metadata object containing a FromDateTime and a ToDateTime. Both are formatted as DateTime objects.
I was looking for a way to do something like this:
(metadata.searchTime.fromDateTime - metadata.searchTime.toDateTime) > 1000ms
Obviously over simplified, but i hope it gets the point across better.