public static java . sql . Timestamp toTimestamp ( String date , String time ) { java . util . Date newDate = toDate ( date , time ) ; if ( newDate != null ) return new java . sql . Timestamp ( newDate . getTime ( ) ) ; else return null ; }
Converts a date String and a time String into a Timestamp