2.3 capstone project level 2 date format

https://learninghub.kx.com/forums/topic/2-3-capstone-project-level-2-date-format

Hi, I’m trying to solve the 2.3 section of capstone project - level 2

When I do

meta optRef , I see that the expiry date is D instead of d. I think this is the problem which is causing the failure of the running test.

I tried converting it to date format but it’s not working.

I tried with

optRef: update expiry: d$expiry from optRef

I also tried with:

optRef: update expiry: `date$expiry from optRef

In both cases I don’t see any changes.

 

Try 

optRef: update "D"$expiry from optRef;

Hi! I'm still facing the problem:

exercise2.1 Fail "optRef Has Correct Format" ""   

when executing optRef: update "D"$expiry from optRef;  I'm getting a "type: Mismatched types"

It's passing now