Hi There,
Working with dates and specially time is rather confusing for me, therefore I really need to ask for help please.
I can not find the way to calculate the numeric value using TOTALHOURS() to get hours from beginning of current week till now in one formula and to get a numeric value of hours from beginning of current month till now.
Appreciate any help please.
Thanks in advance, Lovro
Hi @RECMAN_Systems,
The expressions in this post arenโt exactly what youโre looking for, but they may give you a better understanding of how to work with durations in AppSheet:
And hereโs a good post by @Steve on rounding time:
Beginning of current week to now:
TOTALHOURS(NOW() - (TODAY() - WEEKDAY(TODAY()) + 1))
Beginning of current month to now:
TOTALHOURS(NOW() - (TODAY() - DAY(TODAY()) + 1))
See also:
Thanks Steve you are a magician with time formulas.
But is there a solution to calculate only WORKING DAYS i/e WORKING HOURS?
Just as humble suggestion or expression request would be something like:
Maybe even something to count working days i/e working hours from between two dates.
Or is eventually any thing similar already present in AppSheet? This would be extremely useful to calculate actual project performance.
Thanks again gor above solution and for future ones
Lovro
Unfortunately, AppSheet has a fixed definition of a week as Sunday to Saturday; thereโs no way to change it.
WORKDAY() might be useful for computing working days. There is no equivalent for working hours.
See also:
Thanks Steve,
What would be eventually the formula for counting working days from beginning of the month till now?
Thanks in advance
Recently there was a discussion in the community on the topic and @OptimiX_XcrY has shared his expression and assumptions. I believe you could take a look at it.
User | Count |
---|---|
15 | |
15 | |
8 | |
7 | |
4 |