Hi
{
DateTime m_dateTime = DateTime.Now;
string currentTime = m_dateTime.TimeOfDay.Hours + ":" + m_dateTime.TimeOfDay.Minutes + ":" + m_dateTime.TimeOfDay.Milliseconds;
MessageBox.Show(currentTime);
}
Best Regards.
--please don't forget to Accept as answer if the reply is helpful--