I am new to Java and just want to calculate the number of mili seconds in a year, but the result is not as expected
long milisecondsInYear = 1000*60*60*24*365;
System.out.println(milisecondsInYear); // Expect 31536000000 but get 1471228928
Please advise me on this. Thank you in advance.