From: Alan Knowles Date: Thu, 6 Dec 2012 07:40:29 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=b766d148ae68299b472fc02bdada9e3fb1b3e0da;p=Pman.Core SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 6c4edf3e..abea4a6c 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -87,6 +87,15 @@ class Pman_Core_SimpleExcel extends Pman } + + function date($str) + { + + return (strtotime($str) + (86400 * 25569)) / 86400; + + } + + function buildpage($workbook, $formats , $data,$cfg) { //echo '
';        print_R($cfg);