c# get total milliseconds from datetime

95

c# get total milliseconds from datetime -

yourDateTime.ToUniversalTime().Subtract(
    new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)
    ).TotalMilliseconds

Comments

Submit
0 Comments