My system time differs from what java\'s new Date() tells (+ 4 hours), so I think it\'s because some java settings. How can I make java time to be always as my linu
use System.getCurrentTimeInMillis();
System.getCurrentTimeInMillis();
and then take a calendar instance and set Your time..