Changeset 627 for trunk/Common/Global.php
- Timestamp:
- Jan 2, 2014, 12:42:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r599 r627 53 53 function HumanDate($Time) 54 54 { 55 $Date = explode(' ', $Time); 56 $Parts = explode('-', $Date[0]); 57 if($Date != '0000-00-00') return(($Parts[2]*1).'.'.($Parts[1]*1).'.'.$Parts[0]); 58 else return(' '); 55 if($Time != '') { 56 $Date = explode(' ', $Time); 57 $Parts = explode('-', $Date[0]); 58 if($Date != '0000-00-00') return(($Parts[2]*1).'.'.($Parts[1]*1).'.'.$Parts[0]); 59 else return(' '); 60 } else return(' '); 59 61 } 60 62
Note:
See TracChangeset
for help on using the changeset viewer.