diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 17:14:25 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 17:14:25 +0000 |
commit | 866c47ec603595e8fe67da5f0e5d162a70b1f7b4 (patch) | |
tree | ef2b85462576150f017ba6bd53ace13dc60dc510 /www-ssl/inc/funktionen.php | |
parent | fbc8e11b91b0565ae5d23472fc4e5bfc7d879939 (diff) |
move files
git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc/funktionen.php')
-rwxr-xr-x | www-ssl/inc/funktionen.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www-ssl/inc/funktionen.php b/www-ssl/inc/funktionen.php new file mode 100755 index 00000000..d841e6ec --- /dev/null +++ b/www-ssl/inc/funktionen.php @@ -0,0 +1,26 @@ +<?php + +/* Schichtverplanung im Adminbereich */ +function Dsubstr($DateString,$re) { + if ($re==1) + return substr($DateString, 0, 2); + elseif ($re==2) + return substr($DateString, 3, 2); + else + return substr($DateString, 6, 4); +} + +/* Schichtverplanung im Engelbereich */ + +function engeldate($edate,$m) { + if ($m==t) + return substr($edate, 8, 2); + elseif ($m==m) + return substr($edate, 5, 2); + elseif ($m==u) + return substr($edate, 11, 5); + else + return substr($edate, 0, 4); +} + +?> |