A simple Glide timesheet app needs four tables (Staff, Shifts, Pay weeks and Timesheets), Clock in and Clock out buttons that stamp the current time, a Math column for shift hours, a query and rollup for each person's weekly total, and an Approve button plus CSV export for your payroll person.
The Complete Excel Course with AI Integration
From formulas and pivot tables to Power Query, DAX, VBA and AI with Copilot, ChatGPT and Claude — hands-on from the first lesson.
By Sagnik Bhattacharya and Virginia Thorn, Primetime Emmy Award winner
Buy nowTwo decisions come before any building. The first is how staff sign in: Glide Classic's cheaper plans accept personal email addresses only, so company addresses mean the Business plan at $199 a month billed yearly, while GlideOS invites staff as guests from $25 a month. The second is how hours are rounded, which depends on the employment rules where your staff work, so settle that with your payroll adviser before writing a formula.
What tables does a Glide timesheet app need?
A Glide timesheet app needs four tables: people, individual shifts, pay weeks and weekly submissions, because the weekly total and approval belong to a person's week, not to one shift. Build them as Glide Tables rather than a Google Sheet: Glide's docs say user actions on Glide Tables do not consume updates, and clock-ins are the most frequent action in the app.
| Table | Basic columns | Computed columns | Written by |
|---|---|---|---|
| Users (Staff) | Name, Email, Role (Staff, Payroll or Owner), Contracted weekly hours | Open shifts query and its count | Owner, once per new starter |
| Shifts | Staff email, Clock in, Clock out, Break minutes, Clock-in location, Correction note, Payroll access | Shift hours, Check flag, Pay week | Staff via buttons; Payroll for corrections |
| Pay weeks | Week label, Week start, Week end, Status (Open or Closed) | My shifts this week, My hours this week | Payroll, a few months ahead |
| Timesheets | Staff email, Staff name, Week label, Hours submitted, Submitted at, Approved by, Approved at, Query note, Payroll access | Live hours, Status, Changed since submitted | Staff submit; Payroll approves |
The default Users table that Glide creates already has Name, Email, Photo and Role, and Glide requires at least three basic columns in a user table. Add Contracted weekly hours now; it powers the overtime check later. Make Week start and Week end in Pay weeks full date-and-time values (Monday 00:00 to Sunday 23:59, or whatever your pay week is), because shifts are matched to weeks by time, not by date alone.
Fill Pay weeks for the next six months in one go. A spreadsheet is the quickest way to generate 26 rows of labels and dates before pasting them in.
If building that list of pay weeks in a spreadsheet is the slow part, try The Complete Excel Course with AI Integration on Coding Liquids.
Building the clock-in and clock-out buttons
The buttons are deliberately plain. Staff should be able to clock in with one tap while carrying a bag. These steps use Glide Classic's Layout Editor; allow about an hour including testing.
- Clock in. On the staff home screen, add a button with the Add Row action targeting Shifts. Set Staff email to the signed-in user's email, Clock in to the Current Date/Time special value, and Payroll access to the custom value "Payroll" (it is used for permissions below).
- Stop double clock-ins. In Users, add a Query column called Open shifts with Shifts as its source, filtered to Staff email equals This row → Email and Clock out is empty, plus a Rollup that counts it. Show the Clock in button only when that count is 0.
- My open shift. Below the button, add a collection that uses the Open shifts query as its source. Tapping the shift opens it.
- Break and clock out. On the shift's detail screen, add a Number Entry bound to Break minutes with a minimum of 0 and a maximum of 120, then a Clock out button with Set column values: Clock out takes the Current Date/Time. Show the button only while Clock out is empty.
- Optional location. On the same screen, add a Location component that saves to Clock-in location. Glide's docs say it logs the location once and does not update afterwards, which is the right behaviour for a timesheet: a single point, not tracking.
- Confirmation. Make each button a short App interaction workflow that ends with a Show notification step, so staff see "Clocked in" or "Clocked out" rather than wondering whether it worked.
Two settings deserve a check. When you create date and time values in Glide Tables, a Respect time zones box is ticked by default so each user's time zone is taken into account; leave it ticked unless all staff and the payroll person work in one time zone and you have a reason to change it. And Glide's Add Row documentation describes an offline mode in which users can still add rows, uploaded once the connection returns, so a clock-in in a basement can still be captured, while clocking out (an edit) needs signal.
How do you calculate shift hours in Glide?
Glide calculates shift hours with a Math column that subtracts Clock in from Clock out, multiplies by 24 to turn days into hours, and takes off the break. In Shifts, add a column of type Computed → Math called Shift hours with this configuration, then set each replacement to the matching column:
(clockout - clockin) * 24 - brk / 60
Replacements:
clockout -> Clock out
clockin -> Clock in
brk -> Break minutes
Precision: 2 decimal places
Glide's Math column documentation explains why this works: dates are stored as numbers of days, so the difference between two date-times is a fraction of a day, and subtracting them on its own displays as a duration in hours, minutes and seconds. Multiplying by 24 gives decimal hours. If your column still shows a duration rather than a number, Glide community experts suggest wrapping the formula in round() or trunc(), but test that trunc() does not chop off your minutes.
Never trust a time formula until it has passed a handful of known cases. Enter these test shifts and compare (the expected values are simple arithmetic):
| Test shift | Clock in | Clock out | Break | Expected Shift hours |
|---|---|---|---|---|
| Standard day | Mon 09:00 | Mon 17:30 | 30 | 8.00 |
| Short morning | Tue 08:15 | Tue 12:40 | 0 | 4.42 |
| Overnight | Wed 22:00 | Thu 06:00 | 30 | 7.50 |
| Forgot to clock out | Thu 08:30 | (empty) | 0 | Blank, flagged as open |
| Correction typed in the wrong half of the day | Fri 09:00 | Fri 05:00 (meant 17:00) | 0 | -4.00, must be flagged |
The last row is a real pattern from Glide's community forum, where a negative result turned out to be a clock-out entered as morning instead of afternoon. Add an If → Then → Else column called Check that shows "Check" when Shift hours is below 0 or above 14, and put it on the payroll screen. An overnight shift works without special handling because both values carry their date, which is exactly why the buttons stamp a full date-time rather than a time of day.
How does Glide add up each person's weekly total?
Glide adds up each person's weekly total in two moves: a Query column puts every shift in the pay week its clock-in falls inside, and a Rollup sums that person's hours per week. Both are standard computed columns, so nothing needs to run on a schedule.
Assigning each shift to a pay week
In Shifts, add a Query column with Pay weeks as its source and two filters: Week start is before or equal to This row → Clock in, and Week end is after or equal to This row → Clock in. It returns one matching week. Then add a Single Value column called Pay week that gets the first Week label from that query. Glide's documentation on This row filters uses the same pattern to place users into reward bands by points, and it works the same way for times. A Sunday-night shift that ends on Monday belongs to the week it started in, which is a common convention; if your payroll splits shifts at midnight, settle that with payroll first.
Showing each person their week so far
In Pay weeks, add a Query called My shifts this week: source Shifts, filtered to Pay week equals This row → Week label and Staff email equals the signed-in user's email (Glide's docs list user profile values among the things you can use in filters and computed columns). Add a Rollup that sums Shift hours through that query, and a second Rollup that counts the shifts. Show open pay weeks as a list on the staff screen and each person sees their own running total.
A filled-in week for one illustrative member of staff:
| Shift | Clock in | Clock out | Break | Shift hours |
|---|---|---|---|---|
| 1 | Mon 08:58 | Mon 17:31 | 30 | 8.05 |
| 2 | Tue 09:02 | Tue 17:30 | 30 | 7.97 |
| 3 | Wed 08:55 | Wed 13:05 | 0 | 4.17 |
| 4 | Thu 08:59 | Thu 18:15 | 45 | 8.52 |
| 5 | Fri 09:00 | Fri 16:00 | 30 | 6.50 |
| Rollup: My hours this week | 35.20 | |||
Check that the total matches a calculator before anyone relies on it. Adding the displayed figures gives 35.21, while the week really contains 2,112 minutes, exactly 35.20 hours; a hundredth of difference like this comes from each shift being shown to two decimals. Decide with payroll which figure is the record (the exact one, ideally) and say so on the screen. A two-minute check now beats a week of corrections after the first payroll run.
Rounding, breaks and overtime: settle the rules before the formulas
Rounding looks like a formatting choice and is really a pay decision. Some employers record exact minutes; some round to the nearest five or fifteen minutes; and the rules on whether rounding is allowed, and in whose favour, depend on where your staff work. Ask your payroll adviser, write the answer down, and only then decide whether the app rounds at all.
A quick sum shows why it matters. Take the week above: exact minutes give 35.20 hours. Round each clock-in and clock-out to the nearest quarter hour and the same week becomes 35.00. Round each shift's hours down to the quarter hour and it falls to 34.75, 27 minutes less than the time actually worked in a single week. Across ten staff and a year, that is real money and a real dispute. My preference is to store exact times, show exact hours to two decimals, and let the payroll software apply any rounding the rules allow, so there is one place to change it.
If you are told to round in the app, do it in a separate column and keep Shift hours untouched, for example a Math column of round(hours * 4) / 4 for the nearest quarter hour, so payroll can always see both figures.
Breaks need the same treatment. Typing Break minutes is simple and depends on honesty; separate Break start and Break end buttons are more accurate and twice the taps. Pick one, tell staff which, and check it in the pilot. For overtime, add a Math column in Timesheets that subtracts the person's Contracted weekly hours from the week's total. Leave the decision about what counts as overtime, and at what rate, to payroll.
How does the payroll person approve and export the hours?
The payroll person approves hours in Glide by opening each submitted week, checking its shifts and flags and tapping Approve, which records who approved it and when; approved weeks then export to CSV. Here is the flow end to end.
- Staff submit. On an open pay week, a Submit week button uses Add Row to create a Timesheets row: Staff email and Staff name from the signed-in user's profile, Week label from the pay week, Hours submitted from My hours this week (a snapshot), Submitted at from Current Date/Time, and Payroll access as "Payroll".
- Live total. In Timesheets, a Query of Shifts filtered to Staff email equals This row → Staff email and Pay week equals This row → Week label, plus a Rollup summing Shift hours, gives Live hours. A Math column of Live hours minus Hours submitted shows whether anything changed after submission.
- Status. An If → Then → Else column: if Approved at is not empty, "Approved"; else if Query note is not empty, "Queried"; else "Submitted". No one types a status, so it cannot drift.
- Approve. A button visible to the Payroll role runs Set column values: Approved by takes the signed-in email and Approved at takes the Current Date/Time.
- Query. A text entry for Query note lets payroll ask "Thursday break looks short?" and the week shows as Queried to the member of staff.
- Export. On the payroll screen, a Generate CSV action takes a Query of approved Timesheets for the chosen week as its source, with only the columns payroll needs, and stores the file's link in a column; an Open Link action downloads it. Glide notes Generate CSV does not work with Big Tables, and that some plans may not show it, so confirm it is available before go-live.
An illustrative export for one week:
Staff name,Email,Week,Hours submitted,Live hours,Changed,Approved by,Approved at
[first name] A,a@yourpractice.example,w/c 16 Nov,35.20,35.20,0,payroll@yourpractice.example,2026-11-23 10:14
[first name] B,b@yourpractice.example,w/c 16 Nov,22.50,22.50,0,payroll@yourpractice.example,2026-11-23 10:15
[first name] C,c@yourpractice.example,w/c 16 Nov,38.00,37.25,-0.75,,
The third row is why the Changed column exists: a shift was corrected after submission, so the week was not approved until the member of staff and payroll agreed the new figure. For the wider checks payroll should run before payday, the tutorial on catching timesheet errors before payday pairs well with this export.
If you want help fitting a clock-in and approval flow into how your practice runs payroll, I offer one-to-one AI consultations for small businesses.
Who can see and edit whose hours?
Each member of staff should see and edit only their own open shift, while payroll sees everything and is the only role that can change past times. Glide gives you two tools for that, and you need both.
- Row Owners for privacy. On Shifts and Timesheets, make Staff email a row owner and also make Payroll access a row owner (Glide treats several row-owner columns as "or"). Because Payroll access holds the role name "Payroll", every user with that role can see every row, and each member of staff receives only their own. Glide's servers refuse to send rows to anyone who does not own them, which matters for hours and, if you add them, rates. Glide switches Row Owners on for the Users table by default, so add a Payroll access column there too if payroll needs to see staff profiles.
- Editing conditions for control. Allow edits to Clock in and Clock out only for users whose Role is Payroll or Owner. Staff use Correction note instead ("Forgot to clock out, left at 17:30"), and payroll makes the change. Visibility and editing conditions are convenience, not security, which is why the row owners come first.
Roles live in a basic column of the Users table and are set in the Role field of the User Profile settings; users cannot change their own role. Before launch, use Viewing as to open the app as a member of staff, as payroll and as the owner, and confirm each sees exactly what the list above says. And remember the email rule: on Glide Classic's Free, Explorer and Maker plans, app users must sign in with personal or education addresses, which rules those plans out for most firms that want staff on company email.
Worked example: a nine-person accountancy practice's busy season
An illustrative practice has six permanent staff and three seasonal staff for the busiest quarter. Today, staff email a weekly hours spreadsheet, and the practice manager, who also handles payroll, spends about three hours each Monday chasing missing sheets and retyping totals.
They build the four tables and buttons above in Glide Classic. Staff use company email addresses, so the plan is Business at $199 a month billed yearly, which includes 30 users. Because every table is a Glide Table, the clock-in and clock-out taps do not use updates; Glide's docs say updates come into play when scheduled or automatic workflows change data and when integrations run, so watch the Usage dashboard if you add an evening reminder to anyone still clocked in. The build takes the manager two evenings, about six hours, plus a one-week pilot with two staff.
The weekly sum, all figures illustrative: nine staff averaging five shifts is 45 shifts, each needing two taps and an optional location tap. Monday payroll work drops from about three hours to about 45 minutes: open the Submitted list, check the Check flags and Changed column, approve, export. That saves around 2.25 hours a week, or close to ten hours a month in the busy quarter. Whether $199 a month is worth that depends on what the manager's time is worth and whether the practice will use the same Glide team for other apps; if timesheets are the only use, a ready-made time-tracking tool may cost less, and the tutorial on tracking hours in small teams without timesheets is worth reading before you commit.
The same practice could instead build in GlideOS on Basic at $25 a month, inviting staff as guests. The cost gap is large; the trade-off is that the AI builds the formulas and you must check them, which the next section covers.
Building the same app in GlideOS by prompt
GlideOS, the AI builder new Glide sign-ups now land in, can draft this whole app from a description. Give it the rules you settled above, because it cannot know them:
Build a staff timesheet app for a nine-person accountancy practice.
- Staff tap Clock in and Clock out on their phones; record the exact
date and time of each, plus break minutes entered at clock-out.
- Optionally save the clock-in location once per shift.
- Calculate each shift's hours to two decimals, no rounding.
- Pay weeks run Monday 00:00 to Sunday 23:59. A shift belongs to the
week its clock-in falls in.
- Staff see their own shifts and their running weekly total only.
- Staff submit each week; the payroll role reviews, can add a query
note, and approves. Record who approved and when.
- Flag shifts over 14 hours, negative hours and shifts still open
after 9 pm.
- Payroll can export approved weeks as a CSV: name, email, week,
hours, approved by, approved at.
Then check it like an auditor. Glide says you can click a number in a GlideOS app to see how it was calculated in plain English, so click a weekly total and confirm it uses clock-in time, two decimals and the right week boundaries. Run the same five test shifts from the table above. Preview as a member of staff with Viewing as to confirm they cannot see colleagues' hours. Export is built in: any table can be exported from the Data section with Export CSV. Reminders such as "still clocked in" are workflows, which need a paid plan to run (one enabled on Basic, five on Plus), and they use credits per step. For a broader look at checking what Glide's AI produces before staff use it, see reviewing a Glide-built job tracker.
Timesheet problems payroll catches in the first month
| Problem | How payroll spots it | Fix in the app |
|---|---|---|
| Forgotten clock-out | Open shift from yesterday; week total too low | Scheduled 9 pm email to anyone with an open shift; staff add a Correction note |
| Morning and afternoon mixed up | Negative Shift hours; Check flag | Payroll edits Clock out; the flag clears |
| Two open shifts at once | Same person, overlapping times | Hide Clock in while the open-shift count is above 0 |
| Edited after submission | Changed column not zero | Query the week; approve only after agreement |
| Week boundary confusion | Sunday-night shift in the wrong week | Confirm the clock-in rule with payroll and label weeks clearly |
| Pay weeks run out | New shifts show no week label | Diary reminder to add the next six months of Pay weeks |
Most of these show up in the first fortnight, which is why the pilot matters more than the build. Run two weeks in parallel with the old spreadsheet, compare every total, and only switch off the spreadsheet when two consecutive weeks match to the minute. The broader question of whether rotas, timesheets and leave requests should live in one system is covered in the tutorial on automating rotas, timesheets and leave.
Glide timesheet questions from owners and payroll
Can a Glide timesheet app record where staff clock in?
Yes, once per tap. Glide's Location component saves the phone's current coordinates to a text column one time; it does not track people afterwards. Tell staff what is recorded and why, keep it optional unless you have a clear reason, and check the privacy rules that apply to employee data where you operate.
Can staff clock in when there is no signal?
Partly. Glide's Add Row documentation describes an offline mode in which users can view the app and add new rows, which upload once the connection returns, so a clock-in that adds a row can be saved. Changing an existing row, such as clocking out, needs a connection, so a missed clock-out shows up as an open shift.
Should the Glide app calculate pay as well as hours?
Usually not. Glide can multiply hours by a rate with a Math column, but pay involves rules, deductions and records your payroll software already handles. Export approved hours per person per week, let payroll calculate pay, and keep hourly rates out of the app unless Row Owners protect them.
How do I stop staff editing their own clock times?
Use an editing condition so only users with the Payroll or Owner role can edit Clock in and Clock out, and give staff a correction note field instead. Editing conditions are convenience, not security, so also put Row Owners on the Shifts table so each person's phone only receives their own shifts.
Is a Glide timesheet app cheaper than a ready-made time-tracking tool?
Not always. If staff sign in with company email addresses, Glide Classic needs the Business plan at $199 a month billed yearly; GlideOS starts at $25 a month with staff as guests. Glide earns its keep when hours connect to other Glide apps such as jobs or stock, not as a stand-alone clock.
Further reads
- What to Check Before Buying Payroll Automation Software With AI — What to check before paying for dedicated payroll automation.
- Payroll Software With AI: Which Features Help and What to Ask — Which AI features in payroll software actually help.
- How to Build a Glide Inventory App From a Google Sheet — A second Glide app that can share the same staff table.
- WIP Report Template for Service Firms: Build One From Timesheets — Turn approved hours into a work-in-progress report.
- Which Timesheet Software Suits a Small Agency's Project Budgets? — Ready-made timesheet tools compared for project budgets.
- Which Payroll Tasks Can a Small Bureau Automate With AI? — How payroll bureaus check hours they receive from clients.
Browse all AI-for-business tutorials
Sources: Glide Classic documentation on Math, Rollup, Query, conditional relations (This row filters), Single Value, If-Then-Else, Template and Relation columns, Current Date/Time, Location, Entry, Add Row (offline add row), Set Column Values, Generate CSV, Schedule Trigger, Send Email, Roles, Row Owners, User Profiles, Updates and Personal Users; Glide Classic pricing page and help centre pricing article; GlideOS pricing page and Data, Publishing and Usage documentation; Glide Community threads on hours from date/time durations. All read on 23 November 2026.
