I have a datetime field like

```
{01/01/0001 00:01:02} 

```

Millisecond = 30 and the Ticks for the above datetime field is

```
6203000000

```

The ticks save in the database as an int value which is 62030. I need to reproduce the above date time using the value in the database (62030). So I tried the following.

```
var data = 62030;
winTime = new DateTime().AddTicks(Convert.ToInt64(data.ToString().PadRight(10, '0')));
var b = winTime.Ticks;

```

var b = 6203000000. But it returns minute as 10 instead 01, second as 20 instead of 02 and Millisecond as 300 instead of 030.

Can anyone see what I'm doing wrong?