List of usage examples for java.time Instant minusMillis
public Instant minusMillis(long millisToSubtract)
From source file:Main.java
public static void main(String[] args) { Instant instant = Instant.parse("2014-12-03T10:15:30.00Z"); instant = instant.minusMillis(10000); System.out.println(instant);//from www. j a v a 2 s.c o m }