Copye parse year of a date in a numeric field or a text field
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)
-
reporter -
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. -
reporter Hi
I removed the % and tried to copy it in a text field. The result is year({11204}, LOCAL)
-
repo owner You should use post-function "Copy a parsed text to a field" in advanced parsing mode, or "Mathematical and date-time expression calculator".
-
reporter Thank you.
Worked perfectly with mathematical and date-time expression calculator
Have a good day Elvir
-
repo owner - changed status to resolved
You are welcome.
- Log in to comment
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