Click here to Skip to main content
15,888,148 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
please help me,

i am working in GPS system,and if my system time change then its fluctuating the date and time with current and system datetime.
please help me

my code is here
C#
private void nmeaInterpreter1_DateTimeChanged(object sender, DateTimeEventArgs e)
        {
            BeginInvoke(new MethodInvoker(delegate
            {

                Devices.IsClockSynchronizationEnabled = true;
                dateTimeTextBox.Text = e.DateTime.ToShortDateString() + " " + e.DateTime.ToLongTimeString();
                time = e.DateTime.ToShortDateString() + " " + e.DateTime.ToLongTimeString();
                

            }));
        }
Posted
Comments
agent_kruger 28-Dec-13 3:44am    
is it in windows form or something else?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900