ASDATE Returns "Can't parse date exception"

Comments

4 comments

  • Joel Stewart

    Can you share an example of the raw STRING data that you are trying to convert? 

    The formatting for ASDATE requires precision. If there is a ":" character instead of a " " character, that needs to be reflected into the parse pattern used. 

    0
    Comment actions Permalink
  • Pallavi Gautam

     

    2016-08-16 12:52:20 this is an example of the raw string I am trying to convert.

     

    0
    Comment actions Permalink
  • Joel Stewart

    Based on the example shared, the ASDATE function should use this format: 

    yyyy-MM-dd HH:mm:ss
    0
    Comment actions Permalink
  • Pallavi Gautam

    Thanks!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.