7 Replies Latest reply: May 9, 2017 10:21 AM by Anil Samineni RSS

    Getfieldselection Date Value

    Ruytter Mendonça

      Hi guys.


      I'm trying to get the selection of a filter with an auto calendar field: [DocDate.autoCalendar.YearMonth]

      The thing is, if I use GetFieldSelections([DocDate.autoCalendar.YearMonth]), it appears to return a text value, and not a date one.


      I need to get a date value to use the selected date into expressions, but I'm not being able to even convert the result in a MM/DD/YYYY type of date.


      Can you guys help me how to get the date selected on the field, resulting a date value type?

      Thanks in advance!