Bug #13647: VT_DATE error

From: Date: Thu, 11 Oct 2001 22:38:47 +0000
Subject: Bug #13647: VT_DATE error
Groups: php.dev 
Request: Send a blank email to php-dev+get-67812@lists.php.net to get a copy of this message
From: alain@sonic.net Operating system: win98 PHP version: 4.0CVS-2001-10-11 PHP Bug Type: COM related Bug description: VT_DATE error /* VT_DATE Seems to produce a currency value in php4.08 dev A value denoting a date and time was specified. Dates are represented as double-precision numbers, where midnight, January 1, 1900 is 2.0, January 2, 1900 is 3.0, and so on. */ $varDATE = new Variant(3.0,VT_DATE); print $varDate->value; #prints ($)3.0 (Currency value) instead of:1/3/1900 -- Edit bug report at: http://bugs.php.net/?id=13647&edit=1

« previous php.dev (#67812) next »