I have to fields which is login and logout and i can't figure a way on how to get the difference of the two. " logout - login"
Make sure your fields data type is date time and here's the formula you need to create. After creating the formula, set the fomat to 24 hour. You can't find this in Crystal Help Section. So save it somewhere for future reference.
See attached image