diff options
Diffstat (limited to 'trunk/adodb5/tests/time.php')
| -rw-r--r-- | trunk/adodb5/tests/time.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/trunk/adodb5/tests/time.php b/trunk/adodb5/tests/time.php deleted file mode 100644 index 2c0e21bc..00000000 --- a/trunk/adodb5/tests/time.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -include_once('../adodb-time.inc.php'); -adodb_date_test(); -?> -<?php -//require("adodb-time.inc.php"); - -$datestring = "2063-12-24"; // string normally from mySQL -$stringArray = explode("-", $datestring); -$date = adodb_mktime(0,0,0,$stringArray[1],$stringArray[2],$stringArray[0]); - -$convertedDate = adodb_date("d-M-Y", $date); // converted string to UK style date - -echo( "Original: $datestring<br>" ); -echo( "Converted: $convertedDate" ); //why is string returned as one day (3 not 4) less for this example?? - -?>
\ No newline at end of file |
