current date to timestamp in java code example Example: localdate to timestamp in java Timestamp timestamp = Timestamp.valueOf(localDate.atStartOfDay());