Hello There,
I am fetching a datetime value from a request property as String in following format "yyyy-MM-dd HH:mm:ss" and then parsing it into a datetime object of format "MM/dd/yyyy HH:mm:ss".
Then I am trying to save this value into a PWO IsingleDBObject using VID_PutValueSafe method in ValidFrom Column, but I am getting below mentioned error:
Error: Error applying changes to database. [810006] Conversion of 8/8/2025 12:00:00 AM to SQL string of type Date failed.
What am I missing and how can I save it?
Regards,
Bhaskar