I receive a unix timestamp in my wp7 app and i want to convert it to milliseconds..
I make this:
time.Ticks / 10000;
Is this correct? this give the total time in milliseconds or only the milliseconds?
I want the total time in milliseconds..
my method to get the time is this:
void _ntpClient_TimeReceived(object sender, NtpClient.TimeReceivedEventArgs e)
{
this.Dispatcher.BeginInvoke(() =>
{
DateTime time = e.CurrentTime;
long milliseconds = time.Ticks / 10000;
});
}