Sets the date when the comment was posted to the specified string.
String to which the date when the comment was posted is to be set.