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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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