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