Error : Assign: String was not recognized as a valid DateTime

DDtate 는 string 유형으로 , datetime 유형으로 assign해보니, 에러가 나타났습니다.

Datetime.ParseExact(DDate,“yyyyMMdd”,system.globalization.cultureinfo.invariantculture)

what is stored in your Ddate variable?

DDate get text : 2018-08-01 string.

pls, see next log image.

DateVar=Cdate(Ddate.substring(5,2)+"-"+Ddate.substring(8,2)+"-"+Ddate.substring(0,4))

IS IT WORK FOR U OR NOT?

not …

can u share the workflow
so that i can make changes

System1_ExtractClientInformation.xaml (13.1 KB)

U havent use Cdate?

no …

how to convert date ??

Try to use it
It will work u have use attach browser so i am not able to see what actually come in that variable

Cdate will convert string into date
But it requires string in “MM-dd-yyyy”
Insted - u can use / but imp is MMddyyyy

let me try it…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.