def get_datetime_str(record):
    """
    Get the datetime string for a record.

    Args:
            record: the record to get data for.

    Returns:
            datetime string.
    """
    return str(record.getDataTime())[0:19].replace(" ", "_") + ".0"