Changed time_from_string to use format thingy instead of boost