Time stamp update

Is it possible to get the time stamp to update every time something is edited using the special value

Or is it possible for glide to do the Timestamp with just the date?

As long as you are using the special value in you edit screen, it should update the date in the sheet anytime something changes. I’m not aware of an option to only store the date without time. If you need to display the date just the date elsewhere in your app, you can always create a column and use
the following formula to format the data without time.

=ARRAYFORMULA(TEXT(D2:D, "MM/DD/YYYY"))

I’m not sure I understand. I need a timestamp when a checkbox is “checked” (struggling with for 2 weeks). Is this what is being done with “special value”?

Depends, are you filling a checkbox in add/edit/form mode, or are you in detail view mode with editable components? The Date/Time Special Value is only available in add, edit, or form mode (adding or editing an entire row). I think in detail view mode, only one field is updated at a time.

I don’t follow the question Jeff. If the checkbox is filled from within the sheet (click on the empty check box to fill in a check mark) then the script I wrote works perfect and the date/time is entered in a cell.
If I use the Glide app to check the box, the script doesn’t work/run.
My Sheet

My apology. I sent the wrong link to my sheet:
Corrected share link

What’s your event type for your trigger? Have you tried ‘On Change’ instead of ‘On Edit’ for your trigger? I use scripting sparingly and most of my scripts rely on data entered into the sheet manually, do I don’t know if I would have the same problem or not. There might be a less desirable and more complicated way to do this within the app, but try changing the trigger first. You could use a timed trigger as well, but timeliness looks to be vital for your use.

I have attempted “onChange” but apparently that must be used with a timed trigger? Apparently I’m running circles and have gotten tripped up with how to use onChange.

Are you just using a trigger with the script code itself, or are you going through the Current Project Triggers option and setting it up that way? I’ll admit, I do not use scripting a whole lot, so I’m not overly familar with all the ins and outs of what works and what doesn’t work when data is update within Glide.

Capture

I am a beginner with scripts as well. Didn’t mean to mis-represent myself.
Trying to use Current Project Triggers.

In the interest of making this work short term I’ve changed the easy Switch selection (really the best way to accomplish what I need) and turned them into Date/Time entries. Not clean as it requires a 2nd button push by the user (must click “set”) but I need it to work.

I just tried it with one of my apps where I use a form button to create a new record. That triggers the onchange and runs the script to copy the value to another sheet, so as far as I can tell, it should work. An alternative would maybe be to split your switches into seperate sheets, set up relations to those sheets and create an inline list that links to each sheet. Then when you open up the list item, you can click on the pencil to edit the switch. That will allow you to use the Date/Time special value to automatically fill in the date related to that switch. It’s a really ugly solution and your use of dates instead of switches is probably a better solution in this case. With your scenario, I would press on with trying to get the script to work with the trigger.

Thanks Jeff. I ended up giving up on the triggers. Couldn’t make it work with the Arrayforumula and referenced sheets.
I went with Date/Time value and formatted accordingly in the sheet.
Not elegant like simple on/off switches but it works and I needed to move on.

I really appreciate the help.

Maybe someday Glide will add new functionality in the future that will work for you. Or maybe you’ll come up with a new idea that will work better. Apps will always evolve. I wish you luck.