Has anyone been able to create caladdminutes function? Been searching in availab

Has anyone been able to create caladdminutes function? Been searching in available plugins but to no success..

OriginalPostID-150155

OriginalPostID-150155

  Discussion posts and replies are publicly visible

Parents
  • I think this can be achieved by instead of providing the decimal value as input for caladdhours, can we add the minutes to date and time variable we are passing as first input.
    For example i need to know next business hour after 90 minutes from now then
    instead of caladdhours(now(),1.5,calendar) (as it will round off the dcimal to integer value)
    we can pass caladdhours(now()+intervalds(0,30,0),1,calendar).
Reply
  • I think this can be achieved by instead of providing the decimal value as input for caladdhours, can we add the minutes to date and time variable we are passing as first input.
    For example i need to know next business hour after 90 minutes from now then
    instead of caladdhours(now(),1.5,calendar) (as it will round off the dcimal to integer value)
    we can pass caladdhours(now()+intervalds(0,30,0),1,calendar).
Children
No Data