I am having a problem saying:
store substr(eventtimenew,1,4) to test
That's because EventTimeNew is a numeric variable, and substr() only works on strings. Use the STR() function to convert numeric to string. The third argument of that function specifies how many decimal places you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.