Index: tests/phpunit/tests/xmlrpc/basic.php
===================================================================
--- tests/phpunit/tests/xmlrpc/basic.php	(revision 25946)
+++ tests/phpunit/tests/xmlrpc/basic.php	(working copy)
@@ -25,4 +25,72 @@
 		$this->assertTrue( $this->myxmlrpcserver->login_pass_ok( 'subscriber', 'subscriber' ) );
 		$this->assertInstanceOf( 'WP_User', $this->myxmlrpcserver->login( 'subscriber', 'subscriber' ) );
 	}
+
+	/**
+	 * @ticket 19733
+	 */
+	function test__convert_date() {
+		// Use reflection to grab the protected method _convert_date()
+		$reflection = new ReflectionClass( get_class( $this->myxmlrpcserver ) );
+		$_convert_date = $reflection->getMethod( '_convert_date' );
+		$_convert_date->setAccessible( true );
+
+		/** Standard Date *********************************************************************************************/
+
+		// Set up
+		$good_date = '1983-11-09 05:00:00';
+		$expected = new IXR_Date( '19831109T05:00:00' );
+
+		// Result
+		$result = $_convert_date->invokeArgs( $this->myxmlrpcserver, array( $good_date ) );
+
+		// Verify
+		$this->assertEquals( $expected, $result );
+
+		/** Null Date *************************************************************************************************/
+
+		// Set up
+		$null_date = '0000-00-00 00:00:00';
+		$expected = new IXR_Date( '00000000T00:00:00Z' );
+
+		// Result
+		$result = $_convert_date->invokeArgs( $this->myxmlrpcserver, array( $null_date ) );
+
+		// Verify
+		$this->assertEquals( $expected, $result );
+	}
+
+	/**
+	 * @ticket 19733
+	 */
+	function test__convert_date_gmt() {
+		// Use reflection to grab the protected method _convert_date_gmt()
+		$reflection = new ReflectionClass( get_class( $this->myxmlrpcserver ) );
+		$_convert_date_gmt = $reflection->getMethod( '_convert_date_gmt' );
+		$_convert_date_gmt->setAccessible( true );
+
+		/** Standard Date *********************************************************************************************/
+
+		// Set up
+		$good_date = '1983-11-09 05:00:00';
+		$expected = new IXR_Date( '19831109T05:00:00' );
+
+		// Result
+		$result = $_convert_date_gmt->invokeArgs( $this->myxmlrpcserver, array( $good_date, $good_date ) );
+
+		// Verify
+		$this->assertEquals( $expected, $result );
+
+		/** Null Date *************************************************************************************************/
+
+		// Set up
+		$null_date = '0000-00-00 00:00:00';
+		$expected = new IXR_Date( '00000000T00:00:00Z' );
+
+		// Result
+		$result = $_convert_date_gmt->invokeArgs( $this->myxmlrpcserver, array( $null_date, $null_date ) );
+
+		// Verify
+		$this->assertEquals( $expected, $result );
+	}
 }
\ No newline at end of file
