- Timestamp:
- 07/21/10 16:35:10 (22 months ago)
- Location:
- plugins/apostrophePlugin/branches/features/css
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
lib/toolkit/aDate.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/features/css
- Property svn:mergeinfo changed
-
plugins/apostrophePlugin/branches/features/css/lib/toolkit/aDate.class.php
r1681 r1818 196 196 return floor(($date1 - $date2) / 86400 + 0.5); 197 197 } 198 199 static public function mysql($when = null) 200 { 201 if (is_null($when)) 202 { 203 $when = time(); 204 } 205 $when = self::normalize($when); 206 return date('Y-m-d H:i:s', $when); 207 } 198 208 }

