MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/105jncx/what_the_hell_is_this/j3cjnxm/
r/badcode • u/Waste-Parsnip-3537 • Jan 07 '23
65 comments sorted by
View all comments
Show parent comment
1
Save just the start time and the end time as a datetime, then end - start = worktime as a timespan
3 u/[deleted] Jan 07 '23 Ok that makes sense in this example, but I mean copying fields from objects in general
3
Ok that makes sense in this example, but I mean copying fields from objects in general
View all comments
Show parent comment
1
u/Ewkcs Jan 07 '23
Save just the start time and the end time as a datetime, then end - start = worktime as a timespan