Casting a custom attribute as a date

답변함

3 댓글

  • Erin O'Callaghan
    Zendesk Documentation Team

    Hi @..., the code you wrote above is working as expected for me in my test instance (for example, I see 2021-09-14). One quick thing to double-check is that you've created this as a standard calculated attribute—if you've accidentally created it as a standard calculated metric, it'll return as blank. :) 

    0
  • Chris Gould

    Hi @...S O'Callaghan,Yes the formula definitely works, however, I need to function as a date. Not just a normal attribute field.

    So I would like to apply ranges to it like you might with ticket created-date and ticket solved - date.

    For example: show me the "New attribute" for This month

    0
  • Maryann Remy

    My understanding is that it's not possible to apply custom ranges to custom attributes based on all my research. I am still looking for a workaround so I don't have to manually update the filters if I am interested in looking at my custom date attribute for just last week as an example. 

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공