Right, sorry:
#include <LiquidCrystal.h>
#include <WProgram.h>
#include <Wire.h>
#include <DS1307.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int Hr=0;
int Mn=0;
int Sc=0;
int DD=0;
int MM=0;
int YY=0;
char buffer[6];
void setup() {
lcd.begin(16, 2);
}
void loop() {
Hr=RTC.get(DS1307_HR,true);
Mn=RTC.get(DS1307_MIN,false);
Sc=RTC.get(DS1307_SEC,false);
DD=RTC.get(DS1307_DATE,false);
MM=RTC.get(DS1307_MTH,false);
YY=RTC.get(DS1307_YR,false);
lcd.clear();
sprintf(buffer, "%d", Sc);
lcd.print(buffer);
delay(1000);
}