Changeset 477 for trunk/Common/Global.php
- Timestamp:
- Jan 1, 2013, 11:01:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r476 r477 338 338 function TimeToMysqlDateTime($Time) 339 339 { 340 return(date('Y-m-d H:i:s', $Time)); 340 if($Time == NULL) return(NULL); 341 else return(date('Y-m-d H:i:s', $Time)); 342 } 343 344 function TimeToMysqlDate($Time) 345 { 346 if($Time == NULL) return(NULL); 347 else return(date('Y-m-d', $Time)); 341 348 } 342 349
Note:
See TracChangeset
for help on using the changeset viewer.