formula for local time and GMT?

H

hsg

I would like to display time in LOCAL time as well as GMT.
Whenever LOCAL time is entered in A1, B1 should automatically
display GMT. Both cells to use format HH:MM.
Specifically local time is +5.50 GMT, but general formula
will be appreciated. thanx
 
R

Roger Govier

Hi

Time is stored as fractions of a day (24 hours) so GMT=Localtime-5.5/24
In B1
=IF(A1="","",A1-5.5/24)

--
Regards
Roger Govier

hsg said:
I would like to display time in LOCAL time as well as GMT.
Whenever LOCAL time is entered in A1, B1 should automatically
display GMT. Both cells to use format HH:MM.
Specifically local time is +5.50 GMT, but general formula
will be appreciated. thanx

__________ Information from ESET Smart Security, version of virus
signature database 4756 (20100109) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4756 (20100109) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top