Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Date format

Hello all,

I have string like "2005-11-20",which has to be converted to Date type.Is there anyway to convert.

For ex.:

Date dateBegin1 = (Date) wdContext.currentXYZElement.().getStartDate(); which has the value of "2005-11-20".

While debugging its giving Unknown attribute "2005-11-20".

With regards,


Not what you were looking for? View more on this topic or Ask a question