Hi,
I am trying to subtract the minutes from the date and time without considering without considering the work day time. I tried below code but its adding 1 hours respective i gave the fraction value(second parameter is number integer but i was trying with decimal value)
caladdhours(now(),0.5)
Is there any other solution to achieve this
Thanks
Pratiksha
Discussion posts and replies are publicly visible
I'm guessing you need to use the minute() function.
This has always worked for me:
now() - minute() * 5