Bug 147558 Passing date parameters to drill-through reports
Due to the date/time format, I can't pass a date parameter to a drill-through report. The date/time input requires that the user enters the date in a very specific format otherwise, the viewer does not recognize it as a valid date. Therefore, I set my text box to be have the date/time format 'dd-MMM-yyyy HH:mm' which is user-friendly. When I bind the param to the drill-through report, it passes 'Jan 1, 20006 22:33' or something in that order. Then the report that was being called returns that it is not a valid date. There is no function to format a date object to a specific format (or that I could find).
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
* 
	 * @param filePath
	 *            the document path cretaed from the report design file.
	 * @param request
	 *            Http request, used to get the session Id.
	 * @return
	 * @throws AxisFault
	 */
	protected static String createDocumentPath( String filePath,
			HttpServletRequest request )
	{
		String temp = null;
		String projectName = null;
		String documentName = null;
		if ( ( filePath == null ) || ( filePath.length( ) == 0 ) )
			return ""; 
		String sessionId = request.getSession( ).getId( );
		String fileSeparator = "\\"; 
		if ( filePath.lastIndexOf( fileSeparator ) == -1 )
			fileSeparator = "/"; 
		if ( filePath.lastIndexOf( fileSeparator ) != -1 )
		{
			documentName = filePath.substring( filePath
					.lastIndexOf( fileSeparator ) );
			temp = filePath
					.substring( 0, filePath.lastIndexOf( fileSeparator ) );
			if ( temp.lastIndexOf( fileSeparator ) != -1 )
				projectName = temp
						.substring( temp.lastIndexOf( fileSeparator ) );
			else