Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have cells with Dates in this format: DD/MM/YYYY 00:00:00 and I want to add 3 hours (I'm in a different GMT zone)

Is possible to use Dates in a formula?

Something like: 30/12/2012 22:15:00

Should become:

31/12/2012 01:15:00

Thanks!

share|improve this question

1 Answer

up vote 4 down vote accepted

All date/time values in spreadsheets are internally handled as floating point values. To add 3 hours to a date/time just add (3/24) to the original date/time.

=F3+(3/24)

This also works in MS Excel.

share|improve this answer
Thanks, I did't knew that... One more thing, I'm using importrange to brin that dates... And I can't figure out how to do it with that... =importrange("xxxMyKeyxxx";"Archive!E2:E") ... Where should I add "+(3/24)"? Thanks again – Santiago Jul 11 '12 at 22:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.