1
是否有任何C++库提供的API,其Unix时间戳转换为XML数据类型的datetimeUnix时间戳到XML日期时间转换
如:
http://books.xmlschemata.org/relaxng/ch19-77049.html
我期待转换成模式:2001-10- 26T19:32:52 + 00:00
我也有机会到MySQL,这样我就可以弄个:
mysql> select now();
+---------------------+
| now() |
+---------------------+
| 2010-09-28 14:47:47 |
+---------------------+
我找不到任何适合此格式的功能。
我只是不喜欢的字符串操作这一点,除非是没有出路....
干杯!