我有这个日期和时间字符串
2013-10-21 09:49:51 2013-10-22 10:23:06 2013-10-22 10:23:20 2013-10-22 10:33:34 2013-10-22 10:33:40 2013-10-23 15:14:04 2013-10-23 15:14:09 2013-10-23 15:15:04 2013-10-23 15:26:18 2013-10-23 15:27:26 2013-10-23 15:27:29 2013-10-23 15:37:16 2013-10-23 15:45:08 2013-10-23 15:47:19 2013-10-23 16:05:37 2013-10-23 16:23:28 2013-10-23 16:31:09 2013-10-23 16:32:08 2013-10-23 16:32:54 2013-10-23 17:11:28 2013-10-23 17:12:24 2013-10-23 17:12:33 2013-10-23
我需要一些帮助使用preg_match
.
预期输出数组的示例:
datetimeArr=array(0=>'2013-10-21 09:49:51',1=>'2013-10-22 10:23:06',2=>'2013-10-23 15:45:08')