I am receiving a Time stamp in char format 2013071820209386.....I need to load all the 16 bytes......
I am using StringToTimestamp(date,"%yyyy-%mm-%dd %hh:%nn:%ssss")
Error: Caught exception from runLocally(): APT_ParseError: Parsing parameters "%yyyy-%mm-%dd %hh:%nn:%ssss" for conversion "timestamp=timestamp_from_string[%yyyy-%mm-%dd %hh:%nn:%ss](string)": APT_Conversion_String_TimeStamp: Invalid format [%yyyy-%mm-%dd %hh:%nn:%ssss] used for string_from_time type conversion. [api\operator_rep.C:3828]
I am able to load using StringToTimestamp(date,"%yyyy-%mm-%dd %hh:%nn:%ss") but when i try to load last 2 bytes its give me an error
Your format string needs to match the incoming data. Since your incoming string does not have dashes or spaces or colons in it, remove them from the format you are specifying. It's all about what it is, not what you want it to be.
-craig
"You can never have too many knives" -- Logan Nine Fingers