ea-Geiercode
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Procedural File: date.inc.php

Source Location: /code/date.inc.php

Page Details

php functions for date handling

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Link:  http://www.ea-geier.at/
Filesource:  Source Code for this file
Version:  $Id: date.inc.php 126 2007-08-16 15:59:55Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Includes
require_once (eaADODB_DIR.'adodb-time.inc.php') [line 30]

use of extended date functions of adodb library

[ Top ]


Functions
checkDateFormat  [line 40]

boolean/array checkDateFormat( string &$date, [format $format = 'DD.MM.YYYY']  )

checks date an returns formated array

Parameters:
string   &$date:  date
format   $format:  format

API Tags:
Return:  false/date array


[ Top ]
dateFormat  [line 92]

string dateFormat( array &$data, [format $format = 'DD.MM.YYYY']  )

returns formated date

Parameters:
array   &$data:  date data
format   $format:  format

API Tags:
Return:  formated date


[ Top ]
splitMonthYear  [line 118]

array splitMonthYear( string $string  )

split combined month-year string

Parameters:
string   $string:  combined montz & year

API Tags:
Return:  split data


[ Top ]


Documentation generated on Sun, 09 Sep 2007 17:08:17 +0200 by phpDocumentor 1.3.1