"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/adodb/adodb/tests/time.php Source File", "datetime" => "Sat Dec 2 19:22:27 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

time.php

00001 <?php
00002 
00003 include_once('../adodb-time.inc.php');
00004 //adodb_date_test();
00005 ?>
00006 <?php 
00007 //require("adodb-time.inc.php"); 
00008 
00009 $datestring = "1963-12-04"; // string normally from mySQL 
00010 $stringArray = explode("-", $datestring);
00011 $date = adodb_mktime(0,0,0,$stringArray[1],$stringArray[2],$stringArray[0]); 
00012 
00013 $convertedDate = date("d-M-Y", $date); // converted string to UK style date
00014 
00015 echo( "Birthday: $convertedDate" ); //why is string returned as one day (3 not 4) less for this example??
00016 
00017 ?>