Record time in a specific time zone for attendance file

kryptonian

Board Regular
Joined
Oct 6, 2006
Messages
104
I am making an attendance template that will record the login/logout time of each employee. Each employee has their own file which is linked to a summary file that collates all the information for all employees.

My problem is that not all workstations are set in the same region. Meaning there are workstations set to PST, some to Mountain, some to Eastern, some Singapore, etc.

What I want to do is to record the login/logout time in a specific time zone (UTC+8:00) regardless of their regional setting.

I am currently using the GetTimeZone code to get the time zone and have this in a cell, say A1. What I would like to have the time in B1 in (UTC+8:00) region. I found out that if I use "=NOW()-(A1/24)+"8:00"" it will work for some regions but not for all possibly because of the NOW() function. How do I go about this?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,224,591
Messages
6,179,767
Members
452,940
Latest member
rootytrip

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