*aNotBeforeLocalTime = date.ToNewUnicode();
*aNotBeforeLocalTime = ToNewUnicode(date);
NS_IMETHODIMP nsX509CertValidity::GetNotBeforeLocalTime(PRUnichar **aNotBeforeLocalTime){  NS_ENSURE_ARG(aNotBeforeLocalTime);    if (!mTimesInitialized)    return NS_ERROR_FAILURE;  nsresult rv;  nsCOMPtr<nsIDateTimeFormat> dateFormatter =     do_CreateInstance(kDateTimeFormatCID, &rv);  if (NS_FAILED(rv)) return rv;  nsAutoString date;  PRExplodedTime explodedTime;  PR_ExplodeTime(mNotBefore, PR_LocalTimeParameters, &explodedTime);  dateFormatter->FormatPRExplodedTime(nsnull, kDateFormatShort, kTimeFormatSecondsForce24Hour,                                      &explodedTime, date);  *aNotBeforeLocalTime = date.ToNewUnicode();  return NS_OK;}