Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

can't define 'DTSplit '

thomas1
2020-12-28
2020-12-28
  • thomas1 - 2020-12-28

    Hi,
    I'm trying to use the 'DTSplit'-function for extracting the year out of a date_and_time variable.
    The Lib. 'CAA DTUtil Extern..' is implemented in the application, but i got still the error message 'Identifier 'DTSplit' is not defined'. See attachment. I would be very thankfull for help.

    Best regards
    Tom

     
  • i-campbell

    i-campbell - 2020-12-28

    Try DTU.DTSplit

     
  • thomas1 - 2020-12-28

    It works! Thanks a lot! :-)

     

Log in to post a comment.