   Serial.println("Printing Data:");
 #endif
 
+    
+
+
   //print comma seperated values in form:
   //yyyy-mm-dd hh:mm:ss,temperature
+  //Pad with 20 to make year XXXX
+  dataFile.print("20");
   dataFile.print(year);
   dataFile.print("-");
+  
+  //Pad with zero
+    if(month<10){
+      dataFile.print("0");
+    }
+  dataFile.print(month);
+  dataFile.print("-");
+  
+  //Pad with zero
+    if(dayOfMonth<10){
+      dataFile.print("0");
+    }
   dataFile.print(dayOfMonth);
-  dataFile.print("-");
-  dataFile.print(day);
   dataFile.print(" ");
+  
+  //Pad with zero
+    if(hour<10){
+      dataFile.print("0");
+    }
   dataFile.print(hour);
   dataFile.print(":");
+  
+  //Pad with zero
+    if(minute<10){
+      dataFile.print("0");
+    }
   dataFile.print(minute);
   dataFile.print(":");
+  
+  //Pad with zero
+    if(second<10){
+      dataFile.print("0");
+    }
   dataFile.print(second);
   dataFile.print(",");
   dataFile.println(temp);

  @author Humane Interface Design Enterprise, Michigan Tech
    -Stephen Radachy
    -Nicholas Lanter

    NOTES:
    1) AFTER SETTING THE TIME COMMENT IT OUT

#include <avr/sleep.h>  //sleep library
#include <DS3231.h> //clock
#define DEBUG 1
#define DEBUG_TO_SD 0
#define POWA 4    // pin 4 supplies power to microSD card breakout and temp sensor

//Clock var's
