-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,044
  • 2
  • 11
  • 21

1 Answers1

0

No it doesn't.

1390773600 seconds does; milliseconds are seconds * 1000.

Dave Newton
  • 156,572
  • 25
  • 250
  • 300