Java tutorial
import java.time.ZoneOffset; public class Main { public static void main(String[] args) { ZoneOffset z = ZoneOffset.UTC; int t = z.getTotalSeconds(); System.out.println(t); } }