#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Time in Excel

I know to get the current time in excel we should use the =NOW() formula,
which will give the system time in the cell.

Let us assume my system time is set up for Pacific Time, how to get the
current GMT in the cell.

Also any formula in which time automatically changes in the cell.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Time in Excel

One way:

PST: =NOW()+8/24

PDT: =NOW()+7/24

In article ,
mrbalaje wrote:

I know to get the current time in excel we should use the =NOW() formula,
which will give the system time in the cell.

Let us assume my system time is set up for Pacific Time, how to get the
current GMT in the cell.

Also any formula in which time automatically changes in the cell.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Time in Excel

If the time difference is for example 3 hours would'nt the following formula
work:
=NOW()+3

"JE McGimpsey" wrote:

One way:

PST: =NOW()+8/24

PDT: =NOW()+7/24

In article ,
mrbalaje wrote:

I know to get the current time in excel we should use the =NOW() formula,
which will give the system time in the cell.

Let us assume my system time is set up for Pacific Time, how to get the
current GMT in the cell.

Also any formula in which time automatically changes in the cell.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Time in Excel

No, Rick. That would add 3 days, not 3 hours.
Either =NOW()+3/24, or =NOW()+TIME(3,0,0)
--
David Biddulph

"Rickhotblue" wrote in message
...
If the time difference is for example 3 hours would'nt the following
formula
work:
=NOW()+3

"JE McGimpsey" wrote:

One way:

PST: =NOW()+8/24

PDT: =NOW()+7/24

In article ,
mrbalaje wrote:

I know to get the current time in excel we should use the =NOW()
formula,
which will give the system time in the cell.

Let us assume my system time is set up for Pacific Time, how to get the
current GMT in the cell.

Also any formula in which time automatically changes in the cell.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Time in Excel

Thanks David, this is fine.

But my main concern is for automatic change in time in a cell, Which should
also take care of daylight saving.

Any formula for that?

"David Biddulph" wrote:

No, Rick. That would add 3 days, not 3 hours.
Either =NOW()+3/24, or =NOW()+TIME(3,0,0)
--
David Biddulph

"Rickhotblue" wrote in message
...
If the time difference is for example 3 hours would'nt the following
formula
work:
=NOW()+3

"JE McGimpsey" wrote:

One way:

PST: =NOW()+8/24

PDT: =NOW()+7/24

In article ,
mrbalaje wrote:

I know to get the current time in excel we should use the =NOW()
formula,
which will give the system time in the cell.

Let us assume my system time is set up for Pacific Time, how to get the
current GMT in the cell.

Also any formula in which time automatically changes in the cell.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Time in Excel

XL knows nothing about daylight saving time, or any time other than
system time.

If you want, you can put TRUE or FALSE in a cell (say, J1) to indicate
DST is in effect, then change the formula to

=NOW()+(8-J1)/24


You could also either hardcode or develop a formula that would
automatically determine when DST started and ended, but as demonstrated
this year, the dates can change, not all countries use the same start
and end date, not all US states or portions of states implement DST, so
it would be important to recognize the boundary conditions for any such
formula.



In article ,
mrbalaje wrote:

But my main concern is for automatic change in time in a cell, Which should
also take care of daylight saving.

Any formula for that?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time difference calculations, daylight savings time, Excel Tim Excel Discussion (Misc queries) 1 December 28th 06 04:18 PM
In Excel, I want to convert Eastern time to pacific time dmunhall Excel Discussion (Misc queries) 4 April 1st 06 01:03 AM
Negative time should be allowed in Excel, eg time difference Bengt-Inge Larsson Excel Discussion (Misc queries) 2 October 13th 05 12:59 PM
How do I time Hours & mins in excel - Time sheet Helen Excel Discussion (Misc queries) 5 September 17th 05 11:42 AM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM


All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"