Copye parse year of a date in a numeric field or a text field

Issue #680 resolved
Elvir DLN created an issue

Hi

I am having trouble copying the year of the date into a field

I am using The following text parsed in basic mode will be copied to Start Year1: year(%{Start Date}, SERVER_LOCAL) This feature will be run as user in field Current user.

Please advise

Elvir

Comments (6)

  1. Elvir DLN reporter

    I would like to add something to my request. The scenario is

    Take the date from start date field and copy it into a select list which already has all the required years

    Is that possible ?

    Elvir

  2. Fidel Castro Armario repo owner

    Hi @edzeladin,

    The problem is that you should use code for numeric field value of custom field Start Date, which has the following format: {nnnnn}, where nnnnn is field code for Start Date field. That is, you should remove character %from your expression.

  3. Elvir DLN reporter

    Hi

    I removed the % and tried to copy it in a text field. The result is year({11204}, LOCAL)

  4. Elvir DLN reporter

    Thank you.

    Worked perfectly with mathematical and date-time expression calculator

    Have a good day Elvir

  5. Log in to comment