Convert IST to GMT
import java . util .* ; public class TimezoneConvertor { public static void main ( String [] args ) { Scanner sc = new Scanner ( System . in ); // Taking user input for minute, hour, day, month, and year int min = sc . nextInt (); int hour = sc . nextInt (); int day = sc . nextInt (); int month = sc . nextInt (); int year = sc . nextInt (); // Close scanner to avoid resource leaks sc . close (); // Adjust hours and minutes for IST to GMT conversion hour = hour + 5 ; min = min + 30 ; if ( min >= 60 ) { ...