Help with Date and Time Formula to combine date and time UTC and then convert to PST

tbruce

Board Regular
Joined
Dec 9, 2013
Messages
77
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I can't seem to figure out how to combine two formulas to first combine a date and time in UTC and then convert to PST. I've been trying different combos and just can't seem to get there. Here is an example of the data:

This is what I have to combine the date and time (D), but now I just need to apply the time offset to the D formula. I used the following formula in the E column to convert to PST from the D column. I'm sure it's something simple. I also need to make sure it corrects the date back if minus goes back before mid-night.

Any help with would be much appreciated.

1​
A​
B​
C​
D​
E​
2​
100Date UTCTime UTCDate and Time combined w/PSTDate and Time PST
3​
1012/3/202315:12:18=TEXT(B2, "mm/dd/yyyy ")&TEXT(C2, "hh:mm:ss")=D3+(-8/24)
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
This was it - thanks for the nudge...

=(B3+C3)+(-7/24) for PDT and -8 for PST
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,548
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top