Spreadsheets

How to Convert GMT to IST in Google Sheets

Google Sheets formulas for GMT to IST: TIME(5,30,0), whole-column ARRAYFORMULA, EPOCHTODATE for Unix time, ISO text timestamps and the spreadsheet time zone setting.

By GMT TO IST Editorial Team •
How to Convert GMT to IST in Google Sheets

Google Sheets treats dates and times as numbers, with one day equal to 1. Converting GMT to IST means adding 5 hours 30 minutes to that number. The examples assume your GMT values start in cell A2.

Convert one GMT value to IST

=A2+TIME(5,30,0)

If A2 holds a date and time, the date moves forward automatically when the result passes midnight. 8 November 2026 21:00 GMT becomes 9 November 2026 02:30 IST.

To see the date and time together, select the result cells and choose Format → Number → Date time, or Custom date and time for your own layout.

Convert a whole column at once

Instead of copying the formula down, put one formula in B2:

=ARRAYFORMULA(IF(A2:A="","",A2:A+TIME(5,30,0)))

New rows convert as soon as you add a GMT value in column A. The IF keeps empty rows blank.

Times without dates

For a plain time such as 21:00, keep the time of day and flag the date change separately:

PurposeFormula
IST time of day=MOD(A2+TIME(5,30,0),1)
Same day or next day=IF(A2+TIME(5,30,0)>=1,"Next day","Same day")

For IST back to GMT, use =MOD(A2-TIME(5,30,0),1) so early-morning IST times stay positive.

Convert Unix timestamps with EPOCHTODATE

Sheets has a built-in function for Unix time. EPOCHTODATE returns the date and time in UTC, so add the IST offset:

Unix value in A2Formula
Seconds=EPOCHTODATE(A2)+TIME(5,30,0)
Milliseconds=EPOCHTODATE(A2,2)+TIME(5,30,0)

Example: =EPOCHTODATE(1794146400)+TIME(5,30,0) returns 8 November 2026, 19:30.

Convert ISO 8601 text such as 2026-11-08T14:00:00Z

=DATEVALUE(LEFT(A2,10))+TIMEVALUE(MID(A2,12,8))+TIME(5,30,0)

The formula reads the date and time parts of a UTC timestamp ending in Z. For timestamps with a different offset, remove that offset before adding 5:30.

The spreadsheet time zone setting

File → Settings → Time zone controls what NOW() and TODAY() return. It does not change values you typed or imported, and it does not convert existing cells.

  • To show the current time in India, set the spreadsheet time zone to India (GMT+05:30) and use =NOW().
  • If the spreadsheet is set to India time, =NOW()-TIME(5,30,0) gives the current GMT.

Using Apps Script with time zone names

For automated sheets, Apps Script can format a date in any IANA zone, including British Summer Time handling for London:

Utilities.formatDate(new Date(), "Asia/Kolkata", "yyyy-MM-dd HH:mm")
Utilities.formatDate(new Date(), "Europe/London", "yyyy-MM-dd HH:mm")

UK local time vs GMT

The formulas above assume the source column is GMT or UTC. If it holds UK local time, India is 4 hours 30 minutes ahead during British Summer Time (last Sunday of March to last Sunday of October), not 5 hours 30 minutes. The guide GMT vs BST vs IST explains the difference, and the London to IST converter handles it for single values.

Converters for GMT and IST