RFID Time Tracking with Arduino

Hello,
I do a RFID time tracking with Arduino uno, i finished the Hardware Circuit :

and i'm trying to test the communication between software and Hardware.
for example i downlowded the bibliothek for RTC DS1307 and when i run the code to my Arduino, the time and Datum will be not indicate to the Display.
i need your Help please
thanx

i need your Help please

So, you wrote some code, and it doesn't work. Can you print the code out, and hold it up in front of the camera in your PC, so we can see it? I'll check back in a couple of hours, to see if I can see you holding it up. Hope your arms don't get too tired.

this is the code:

#include <Wire.h>
#include <Time.h>
#include <DS1307RTC.h>

const char *monthName[12] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};

tmElements_t tm;

void setup() {
bool parse=false;
bool config=false;

// get the date and time the compiler was run
if (getDate(DATE) && getTime(TIME)) {
parse = true;
// and configure the RTC with this info
if (RTC.write(tm)) {
config = true;
}
}

Serial.begin(9600);
while (!Serial) ; // wait for Arduino Serial Monitor
delay(200);
if (parse && config) {
Serial.print("DS1307 configured Time=");
Serial.print(TIME);
Serial.print(", Date=");
Serial.println(DATE);
} else if (parse) {
Serial.println("DS1307 Communication Error :-{");
Serial.println("Please check your circuitry");
} else {
Serial.print("Could not parse info from the compiler, Time="");
Serial.print(TIME);
Serial.print("", Date="");
Serial.print(DATE);
Serial.println(""");
}
}

void loop() {
}

bool getTime(const char *str)
{
int Hour, Min, Sec;

if (sscanf(str, "%d:%d:%d", &Hour, &Min, &Sec) != 3) return false;
tm.Hour = Hour;
tm.Minute = Min;
tm.Second = Sec;
return true;
}

bool getDate(const char *str)
{
char Month[12];
int Day, Year;
uint8_t monthIndex;

if (sscanf(str, "%s %d %d", Month, &Day, &Year) != 3) return false;
for (monthIndex = 0; monthIndex < 12; monthIndex++) {
if (strcmp(Month, monthName[monthIndex]) == 0) break;
}
if (monthIndex >= 12) return false;
tm.Day = Day;
tm.Month = monthIndex + 1;
tm.Year = CalendarYrToTm(Year);
return true;
}

this is only the code to try the communication between rtc and displays

I already did the assembly of the hardware circuit as well as downloading the all drivers necessary (RTC, RFID ID20 LA, EEPROM, LCD display). Further I have set the date and time.
My question now are the following:
-how do I set the Database?
-how to register Tags on the EEPROM?
-how do I acknowledge/recognize the registered Tags, call/load them by the software and display them on the LCD display?

Thanks and with kind regards

if (getDate(__DATE__) && getTime(__TIME__)) {

getDate() and getTime() do not GET the date or time. They extract the date or time from input strings.

Better names are in order.

When you run that code, you get some serial output. Care to share that?

The code you posted does not communicate with a display because you don't have any code in it to communicate with a display.

Hello,
i found many solutions to my project, i want now to registrate the RFID-tags in the epprom, i want the code please, i have 1024 kbyte in my eeprom and the tags are 5 bytes. I have to build two tables the first for the registration for the tags and the second to log them with date and time and ID, 13 bytes for the log table.
I hope you can help me
I'm sorry for my bad englisch
Thanks