Android Question How to get the real time just like the watch ?

Martin006

New Member
Hi is there anyone here can help me about the time? Real time for example like the watch keeps on ticking and changing every minute. i got the current time by this code:

DateTime.TimeFormat = "HH:mm:ss a"
DateTime.DateFormat = "MMM dd yyyy"

Label1.Text = DateTime.Date(DateTime.Now)
Label2.Text = DateTime.Time(DateTime.Now)
 
Top