Function VARIANT2TIME gives an error in RTC

MarkPostMarkPost Member Posts: 4
edited 2010-12-02 in NAV Three Tier
When using the function VARIANT2TIME to translate a variant that is datetime to a time the RTC gives a nice error
"The supplied object is not a Microsoft.Dynamics.Nav.Runtime.NavTime."

It looks like this function is not available for the RTC. Does anyone know why?

Comments

  • ara3nara3n Member Posts: 9,256
    does it work in classic? you could format to string and then evaluate it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • MarkPostMarkPost Member Posts: 4
    Yes it works OK in Classic. And yes there are ways to bypass this it's just weird that the function doesn't work in RTC
Sign In or Register to comment.