Hi I have two strings:
entertime "2014-03-06T09:35:36Z"
exittime "2014-03-06T09:38:36Z"
I want to be able to return the difference, which in this case should return 3min.
My method looks like this:
boost::gregorian::date returnTime(std::string entertime, std::string exittime){
boost::gregorian::date denter = boost::gregorian::from_string(entertime);
boost::gregorian::date dexit = boost::gregorian::from_string(entertime);
boost::gregorian::date dresult = dexit-denter;
Is there any way to get this time difference?
Thank you in advance!