projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdaf306
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Thu, 6 Dec 2012 07:40:29 +0000
(15:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 6 Dec 2012 07:40:29 +0000
(15:40 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
6c4edf3
..
abea4a6
100644
(file)
--- 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 '<PRE>'; print_R($cfg);