•  
      request #10199 Date comparison does not work using TQL
    Infos
    #10199
    Patricia Carrasco (pcar)
    2017-05-05 21:49
    2017-05-05 20:34
    10468
    Details
    Date comparison does not work using TQL

    According to the User Guide it should be possible to do date comparisons.

    Comparison operators:

    • For string and text fields: =, !=
    • For date, integer and float fields: =, !=, <, <=, =>, >, BETWEEN()

    However a parsing error is generated when comparing two date field (without time).

    Trackers
    9.6
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Emilio Palmiero (empa), Stephan Bill (stephanbill)
    Stage
    Empty
    Closed
    2017-05-05
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Hi Patricia,

    In the user guide, it is mentioned that supported comparison values for date fields are: string convertible to date or NOW()

    Therefore comparing a field to another one is not supported for now.