Java SQL Time create from String as "17:00:00"
import java.sql.Time; import java.time.Instant; public class Main { public static void main(String[] args) { Time time = Time.valueOf("17:00:00"); System.out.println("time:"+time); }// w w w.j a va2 s .co m }