import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
public class LocalDateTimeWithTimezone {
public static void main(String[] args) {
// Get current LocalDateTime
LocalDateTime now = LocalDateTime.now();
// Specify the timezone
ZoneId zoneId = ZoneId.of("Europe/Paris");
// Create a ZonedDateTime
ZonedDateTime zonedDateTime = ZonedDateTime.of(now, zoneId);
System.out.println("Current time in Paris: " + zonedDateTime);
}
}