Hi @KT03
To set the start date and time automatically when the app is opened you can use the Now() function to get the current date and time, and assign it to a variable or a data source field. You can use the OnStart property of the app or screen to set the start date and time.
Set(StartTime, Now())
To set the end date and time automatically when the user clicks on "Submit Time Tracking", you can use the same Now() function to get the current date and time, and assign it to another variable or data source field. You can use the OnSelect property of a button to set the end date and time.
Set(EndTime, Now())
If you have any questions or feedback, please let me know. Have a great day! 😊
-----------------------
PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻