Forum Discussion
MarkShnier__You
Qrew Legend
5 years agotry this
var datetime MidnightOfClockInDay = ToTimestamp(ToDate([Clock In Date Time]), ToTimeOfDay("12:00 am"));
var duration RoundedDuratonfromMidnight = Round([Clock In Date Time] - $MidnightOfClockInDay, Minutes(15));
ToTimeOfDay("12:00 am") + $RoundedDuratonfromMidnight
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
var datetime MidnightOfClockInDay = ToTimestamp(ToDate([Clock In Date Time]), ToTimeOfDay("12:00 am"));
var duration RoundedDuratonfromMidnight = Round([Clock In Date Time] - $MidnightOfClockInDay, Minutes(15));
ToTimeOfDay("12:00 am") + $RoundedDuratonfromMidnight
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
WallaceYeboah
5 years agoQrew Member
Thanks for the response Mark! I'm still getting this error for the last line of code:
"Expecting duration but found timeofday"
------------------------------
Wallace Yeboah
------------------------------
"Expecting duration but found timeofday"
------------------------------
Wallace Yeboah
------------------------------