标签: c++ parsing boost time-t
我想转换http标题字段“Date”,它以格式返回给我 “星期三,2012年3月7日09:58:26 GMT”,成为time_t值。
time_t
我不确定http标头中是否有此字段的标准格式。
我看到了这个:parsing of date/time from string (boost?), 但我不知道我是否可以为我提到的格式做一个方面。
另外,我需要可移植的功能。
我可以自己轻松解析它,但我希望有更好,更快,更安全的方式。