MATLAB: How to convert (Indian Standard time)IST datetime to UTC

isttimeutc

hi,
I have time table with datetime like this
15-Sep-2019 09:30:00
15-Sep-2019 10:00:00
15-Sep-2019 10:30:00
15-Sep-2019 11:00:00
15-Sep-2019 11:30:00
15-Sep-2019 12:00:00
15-Sep-2019 12:30:00
15-Sep-2019 13:00:00
15-Sep-2019 13:30:00
15-Sep-2019 13:31:00
i want this to convert in UTC date time !
how would i do that ?

Best Answer

Time =
15-Sep-2019 09:30:00
15-Sep-2019 10:00:00
15-Sep-2019 10:30:00
15-Sep-2019 11:00:00
15-Sep-2019 11:30:00
15-Sep-2019 12:00:00
15-Sep-2019 12:30:00
15-Sep-2019 13:00:00
15-Sep-2019 13:30:00
15-Sep-2019 13:31:00
T = datetime(Time, 'InputFormat','dd-mm-yyyy HH:mm:ss', 'TimeZone','Asia/Kolkata')
T.TimeZone = 'Asia/Kolkata'