Q:

long value to date c#

My server is sending me the following value 13928550480000 which I know represents the date 02/19/2014. But I am not able to figure out how to get to the date from the long value.
I tried various ways of converting long to date using c# date time class but not able to get to the correct date i.e. 02/19/2014
        long dateL = 13928550480000;
        DateTime dt = new DateTime(dateL);
        var dtstr = dt.ToString("MM/dd/yyyy");

        var onlyDate = dt.Date;

        DateTime start = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
        DateTime date = start.AddMilliseconds(dateL).ToLocalTime();
        var dtstr1 = date.ToString("MM/dd/yyyy");

A:

It looks like your source number represents number of 10 ms increments since 1-1-1970 (either that or a typo):
    long dateL = 13928550480000;

    DateTime start = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
    DateTime date = start.AddMilliseconds(dateL/10).ToLocalTime();
                                         //    ***
                                         //     ^------

    var dtstr1 = date.ToString("MM/dd/yyyy");  // 02/19/2014

I suspect the time zone difference is irrelevant to your problem.

