I am currently trying to make an analog clock that reflects EST time. I’m okay with lighting showing 24-hour time, but I am not okay with the analog clock showing it. I am working on a system for coordinating that, but the problem is, I don’t know how to “chop off” the seconds part of the lighting.TimeOfDay value.

Script:
local textLabel = script.Parent
local serverScriptService = game:GetService("ServerScriptService")
local values = serverScriptService:FindFirstChild("Values")
local TimeIsAM = values.TimeIsAM
local GameTime = values.GameTime
local GameClockTime = values.GameClockTime
while true do
wait()
if TimeIsAM then
textLabel.Text = GameTime.Value .. " AM"
else
textLabel.Text = GameTime.Value .. " PM"
end
end
I want to make the textLabel.Text value the hours and minutes part of the lighting.TimeOfDay value. I have tried searching it up and using other models, but have found no luck.
Example:
textLabel shows: 12:35
lighting.TimeOfDay shows: 12:35:24
(GameTime.value is set to lighting.TimeOfDay)