Convert String value to Date
Logeshwar
Registered Posts: 3 ✭
We convert String " 29692" to Date "16-04-1981" using " =Value() " formula in excel. How can we convert the same string to Date in Dataiku
Tagged:
Best Answer
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,090 Neuron
Excel stores dates starting with 1 for 01-Jan-1900 so you all need to do get a proper date from the Excel number is add it to 01-Jan-1900. Use this formula in a Prepare recipe:
inc(asDate('01-Jan-1900', 'dd-MMM-yyyy'), 29692, 'days')
https://doc.dataiku.com/dss/12/formula/index.html#date-functions
Answers
-
Thank you