看板 [ PHP ]
討論串[請益] 日期排序問題請益
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者shadowjohn (會吐槽的最強)時間13年前 (2012/02/19 21:44), 編輯資訊
0
0
1
內容預覽:
[root@3wa d]# cat input.txt. 2000,01,03,skldfjasdklfjadfstring. 2000,01,04,qwerqioweuroqwistring. 1999,12,13,zxcvzxcvstring. 1987,11,15,34124234string
(還有663個字)

推噓3(3推 0噓 7→)留言10則,0人參與, 最新作者DRLai (蘇打)時間13年前 (2012/02/19 00:25), 編輯資訊
0
0
0
內容預覽:
我有些資料想依照日期排序. 原始文字檔大致如下. 2000,01,03,string. 2000,01,04,string. 1999,12,13,string. .... 將所有資料依照日期排序. 目前個人想到的方式是. 將所有文字串接. 19991213_string. 20000103_str
(還有8個字)
首頁
上一頁
1
下一頁
尾頁