You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: This sample adds a punch clock button and allows a user to clock in and clock out using the current time.
4
-
ms.date: 10/01/2022
4
+
ms.date: 02/07/2024
5
5
ms.localizationpriority: medium
6
6
---
7
7
@@ -11,7 +11,7 @@ The scenario idea and script used in this sample was contributed by Office Scrip
11
11
12
12
In this scenario, you'll create a time sheet for an employee that allows them to record their start and end times with a [button](../../develop/script-buttons.md). Based on what's previously been recorded, selecting the button will either start their day (clock in) or end their day (clock out).
13
13
14
-
:::image type="content" source="../../images/punch-clock-sample-3.png" alt-text="A table with three columns ('Clock In', 'Clock Out', and 'Duration') and a button labeled 'Punch clock' in the workbook.":::
14
+
:::image type="content" source="../../images/punch-clock-sample-2.png" alt-text="A table with three columns ('Clock In', 'Clock Out', and 'Duration') and a button labeled 'Punch clock' in the workbook.":::
15
15
16
16
## Setup instructions
17
17
@@ -122,17 +122,15 @@ In this scenario, you'll create a time sheet for an employee that allows them to
0 commit comments