- Timestamp:
- 05/21/13 15:35:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Transaction/insert.php
r15903 r15904 12 12 $insertdate = $TimeEX[2]."-".$TimeEX[1]."-".$TimeEx[0]; 13 13 $value = $_GET['Data']; 14 $date = new DateTime($_GET['Date']);14 //$date = new DateTime($_GET['Date']); 15 15 $n_value = explode(",",$value); 16 16 echo "<br />"; 17 echo $date->format('Y-m-d H:i:s');17 //echo $date->format('Y-m-d H:i:s'); 18 18 19 19 $Time = explode(",",$Time); … … 31 31 $selectf = $select[$i]; 32 32 $Timef = $Time[$i]; 33 $dateTime=$insertdate." ".$Time[$i];33 $dateTime=new DateTime($date." ".$Time[$i]); 34 34 35 echo $parsed_date = $dateTime->format('Y-m-d H:i:s'); 35 36 $measuref = $measure[$i]; 36 37
Note:
See TracChangeset
for help on using the changeset viewer.