import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class DateTimeConverter {
    public static void main(String[] args) {
        String htmlDateTime = "2024-09-30T09:38"; // Example value from the input

        // Define the formatter for the HTML datetime format
        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm");

        // Parse the string to a LocalDateTime object
        LocalDateTime localDateTime = LocalDateTime.parse(htmlDateTime, formatter);

        // Convert LocalDateTime to Timestamp
        Timestamp timestamp = Timestamp.valueOf(localDateTime);

        System.out.println(timestamp); 
    }
}