SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Thu, 6 Dec 2012 07:40:44 +0000 (15:40 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 6 Dec 2012 07:40:44 +0000 (15:40 +0800)
SimpleExcel.php

index abea4a6..03ce66b 100644 (file)
@@ -88,7 +88,7 @@ class Pman_Core_SimpleExcel extends Pman
     }
     
     
-    function date($str)
+    static function date($str)
     {
         
         return (strtotime($str) +  (86400 *  25569)) / 86400;