Duane Gibbs

Duane Gibbs

  • NA
  • 5
  • 0

How to get Current System Time in C#

Mar 9 2009 5:59 AM
Hi Guys, i have a problem, im working on a simple Chat application similar to MSN Messenger using the Sockets and the Console. I want to be able to display the time (at that given moment) next to the message that a user sends/recieves e.g.

"Mike (09:50) says: Hello World"

I've googled it and cant find a way to do it :(

Any suggestions?

Thanks

Answers (2)