# Date on switch

**URL:** <https://community.glideapps.com/t/date-on-switch/40522>\
**Category:** Ask for Help\
**Created:** [April 8, 2022, 2:07pm UTC](https://community.glideapps.com/t/date-on-switch/40522 "2022-04-08T14:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sales\_Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sales_manager/32/16172_2.png) [@Sales\_Manager](https://community.glideapps.com/u/Sales_Manager)\
**Post date:** [April 8, 2022, 2:07pm UTC](https://community.glideapps.com/t/date-on-switch/40522/1 "2022-04-08T14:07:15Z")

</div>

Hey, I use the toggle switch.

I want to create two columns,  
In the first column I want to record  
Timestamp when I toggle to (True) and want to record in the second column  
timestamp when result becomes (false)

Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [April 8, 2022, 3:03pm UTC](https://community.glideapps.com/t/date-on-switch/40522/2 "2022-04-08T15:03:05Z")

</div>

You can do that not with a toggle, but with a button.  
It’d have a compound action, one is changing from empty to true on your 1st column, and a the 2nd action would be timestamping the interaction.

---

<div class="post-metadata">

**Author:** ![Sales\_Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sales_manager/32/16172_2.png) [@Sales\_Manager](https://community.glideapps.com/u/Sales_Manager)\
**Post date:** [April 8, 2022, 3:08pm UTC](https://community.glideapps.com/t/date-on-switch/40522/3 "2022-04-08T15:08:45Z")

</div>

Yes, with button i know, but is there a trick with switch?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 9, 2022, 12:31am UTC](https://community.glideapps.com/t/date-on-switch/40522/4 "2022-04-09T00:31:32Z")

</div>

Only way, if you’re using Google Sheets, is using AppScript to look for the changes on the specific boolean column and record the timestamp of that change in another column.
