-2

I have set the milliseconds to 1390773600 in the constructor which translates to Sun, 26 Jan 2014 22:00:00. But as shown in the screenshot I keep getting 1970-01-16. What's going wrong here?

JanithaR
  • 1,094
  • 2
  • 11
  • 23

1 Answers1

0

No it doesn't.

1390773600 seconds does; milliseconds are seconds * 1000.

Dave Newton
  • 158,873
  • 26
  • 254
  • 302