KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy 2.3 capstone project level 2 date format

  • 2.3 capstone project level 2 date format

    Posted by Tamara Olsztajn on January 30, 2025 at 7:57 pm

    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.

     

    Tamara Olsztajn replied 4 days, 9 hours ago 2 Members · 3 Replies
  • 3 Replies
  • mwoods

    Administrator
    January 31, 2025 at 12:11 pm

    Try 

    optRef: update "D"$expiry from optRef;
    • Tamara Olsztajn

      Member
      January 31, 2025 at 12:23 pm

      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”

Log in to reply.