You need to sign in to do that
Don't have an account?
Mahesh Babu 187
Convert Picklist Values to Date
Hi Team,
I have a requirement to convert my picklist value to date in a new field.
My picklist values are as May 2020, June 2021. Now I want to convert this value to a date format in the new field as 05/01/2020.
And all my values should be converted to 1st day of the month which is selected in the picklist.
Example:
Jan 2020- 01/01/2020
March 2021- 03/01/2021
April 2013 - 04/01/2013
It should be mm/dd/yyyy. And "dd" should be always 01.
i have searched many formulas to convert it to the required format, but could not achieve.
Please help me in achieving it.
Thanks,
Mahesh
I have a requirement to convert my picklist value to date in a new field.
My picklist values are as May 2020, June 2021. Now I want to convert this value to a date format in the new field as 05/01/2020.
And all my values should be converted to 1st day of the month which is selected in the picklist.
Example:
Jan 2020- 01/01/2020
March 2021- 03/01/2021
April 2013 - 04/01/2013
It should be mm/dd/yyyy. And "dd" should be always 01.
i have searched many formulas to convert it to the required format, but could not achieve.
Please help me in achieving it.
Thanks,
Mahesh
If formula date field you could try using the standard DATE formula
remember that DATE uses DATE(yyyy,mm,dd) to create it's date value - you can then format the field as required
If it's to be a text formula field, then using similar to above,
if it is to be a writeable field, then use either of the above in a process builder
regards
Andrew
All Answers
Can you say me how many picklist values are there?
I have 280 values in the picklist field.
If formula date field you could try using the standard DATE formula
remember that DATE uses DATE(yyyy,mm,dd) to create it's date value - you can then format the field as required
If it's to be a text formula field, then using similar to above,
if it is to be a writeable field, then use either of the above in a process builder
regards
Andrew