Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    HowTo: Adding relative dates to RelativeDateItem

    Hi Isomorphic,

    I'd like to add
    • Current Month (=1st of month when in "from"-field, last of month when in "to"-field)
    • Current Quarter (=1st of quarter when in "from"-field, last of quarter when in "to"-field)
    • Current Year (=1st of year when in "from"-field, last of year when in "to"-field)
    • Last month (....logic as above....)
    • Last quarter (....logic as above....)
    • Last year (....logic as above....)
    to RelativeDateItem in 5.1p. How do I do this best? JS would also be OK here.
    I don't need the "N xyz from now". If possible I'd also like to remove some or all of the default entries there.

    Thank you & Best regards
    Blama

    #2
    See relativeDateItem.presetOptions.

    Comment

    Working...
    X