Writing RTC data to SD card: How can I make the data look better in the .txt?

Hello, I am working on a data logger for a sensor and I started with hooking up a RTC and SD card to my Uno. I have a working script but I can’t figure out how to make the data look better in the text file. When my RTC data is printed to the .txt its not in the same format as when printed to the serial monitor. I would like to have the data look like this:

Date Time

Date Time

Date Time

How can I print a “return key” to space the data out like this? Any help would be greatly appreciated, thank you Arduino Community!!

// Date and time functions using a PCF8523 RTC connected via I2C and Wire lib
#include <Wire.h>
#include "RTClib.h"
#include <SPI.h>
#include <SD.h>

File datafile;

RTC_PCF8523 rtc;

char daysOfTheWeek[7][12] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};

void setup () {

  while (!Serial) {
    delay(1);  // for Leonardo/Micro/Zero
  }

  Serial.begin(57600);
  if (! rtc.begin()) {
    Serial.println("Couldn't find RTC");
    while (1);
  }

  Serial.print("Initializing SD card...");

  if (!SD.begin(4)) {
    Serial.println("initialization failed!");
    while (1);
  }
  Serial.println("initialization done.");


  if (! rtc.initialized()) {
    Serial.println("RTC is NOT running!");
    // following line sets the RTC to the date & time this sketch was compiled
    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
    // This line sets the RTC with an explicit date & time, for example to set
    // January 21, 2014 at 3am you would call:
    // rtc.adjust(DateTime(2014, 1, 21, 3, 0, 0));
  }
}

void loop () {
    DateTime now = rtc.now();

    Serial.print(now.year(), DEC);
    Serial.print('/');
    Serial.print(now.month(), DEC);
    Serial.print('/');
    Serial.print(now.day(), DEC);
    Serial.print(" (");
    Serial.print(daysOfTheWeek[now.dayOfTheWeek()]);
    Serial.print(") ");
    Serial.print(now.hour(), DEC);
    Serial.print(':');
    Serial.print(now.minute(), DEC);
    Serial.print(':');
    Serial.print(now.second(), DEC);
    Serial.println();
    
    Serial.print(" since midnight 1/1/1970 = ");
    Serial.print(now.unixtime());
    Serial.print("s = ");
    Serial.print(now.unixtime() / 86400L);
    Serial.println("d");
    
    // calculate a date which is 7 days, 12 hours and 30 seconds into the future
    DateTime future (now + TimeSpan(7,12,30,6));
    
    Serial.print(" now + 7d + 12h + 30m + 6s: ");
    Serial.print(future.year(), DEC);
    Serial.print('/');
    Serial.print(future.month(), DEC);
    Serial.print('/');
    Serial.print(future.day(), DEC);
    Serial.print(' ');
    Serial.print(future.hour(), DEC);
    Serial.print(':');
    Serial.print(future.minute(), DEC);
    Serial.print(':');
    Serial.print(future.second(), DEC);
    Serial.println();
    
    Serial.println();

   // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.
  datafile = SD.open("datafile.txt", FILE_WRITE);

  // if the file opened okay, write to it:
  if (datafile)
    Serial.print("Writing to datafile.txt...");
    datafile.println(now.year(), DEC);
    datafile.println('/');
    datafile.println("\t");
    datafile.println(" ");
    datafile.println(now.month(), DEC);
    datafile.println('/');
    datafile.println("\t");
    datafile.println(" ");
    datafile.println(now.day(), DEC);
    datafile.println(" (");
    datafile.println(daysOfTheWeek[now.dayOfTheWeek()]);
    datafile.println("\t");
    datafile.println(" ");
    datafile.println(") ");
    datafile.println(now.hour(), DEC);
    datafile.println(':');
    datafile.println("\t");
    datafile.println(" ");
    datafile.println(now.minute(), DEC);
    datafile.println(':');
    datafile.println("\t");
    datafile.println(" ");
    datafile.println(now.second(), DEC);
    datafile.println();
    // close the file:
    datafile.close();
    delay(3000);
}

Use datafile.print instead of datafile.println.

Thank you very much!!! Can't believe I missed that :sweat_smile: Noob here, learning in progress!