convert epoch time to date
EDIT: Okay, so you don’t want your local time (which isn’t Australia) to contribute to the result, but instead the Australian time zone. Your existing code should be absolutely fine then, although Sydney is currently UTC+11, not UTC+10.. Short but complete test app: import java.util.*; import java.text.*; public class Test { public static void main(String[] … Read more