Arduino Print Date and time

hi, anyone know on how to let arduino to display current date and time (follow computers's) ? we dont need to insert anything 1, anyone have the example code ?

What does "follow computers" mean? Do you want to build something that gets the current time from a computer and display's it? ...You might have to write an application for the computer an application for the Arduino.

Any more details about what you're trying to do?

If your Arduino has an internet connection through an ethernet shield or wifi shield, you can get updated time information. http://playground.arduino.cc/Main/DS1307OfTheLogshieldByMeansOfNTP

Have you checked out the Arduino Time Library? http://playground.arduino.cc/Code/Time

Yeah, that is what I am trying to do, just to get the current time from a computer and display it on the serial monitor and that is, no others input just the time...

Is it necessary to add on external source like RTC / logshield? Is it possible to just display current time from computer using only arduino mega and Ethernet?

idp1:
Yeah, that is what I am trying to do, just to get the current time from a computer and display it on the serial monitor and that is, no others input just the timeā€¦

Is it necessary to add on external source like RTC / logshield? Is it possible to just display current time from computer using only arduino mega and Ethernet?

You could do that easily, but you have to write a program that runs on the PC to continually send the time to the Arduino.

Oh I am quite new to what u are explaining? Do you have any sites that share the information you are talking about? Really appreciate it

idp1:
Yeah, that is what I am trying to do, just to get the current time from a computer and display it on the serial monitor and that is, no others input just the time...

If I read that correctly, you want to get the time from the computer, and do nothing more than send it back where it came from - to the computer. This is not only difficult, and probably beyond your capabilities, but also seems to be an utterly pointless exercise. It might be better to first explain what you really want to do eventually, which just might be a little bit more constructive. Most particularly, you might start by explaining

  1. why you want to do this on the serial monitor
  2. why you feel you need to do this with an Arduino.
    But before you do, it might help if you checked out terminal programmes, like RealTerm, and the timestamping facility included therein.