Is there a way\instruction to get Prompt builder to interpret dates correctly and consistently.
In the Resolved prompt it has the dates as mm/dd/yyyy . I have an instruction to format the date for display to be "Month Date, Year". Our date format on the UI is dd/mm/yyyy.
For example:
Date on the UI is: 1/02/2026 (1st Feb) ie dd/mm/yyyy
Date in the resolved prompt is: 02/01/2026 ie mm/dd/yyyy
Agentforce generated response is: January 2, 2026. on occasions it will display as February 1, 2026.
#Agentforce
Hi @Sam Sallis
Any luck on this? I face a similar issue. When adding field in prompt builder with standard object, the date gets added as MM/DD/YYYY instead of DD/MM/YYYY, no matter the locale of the user running the job initiating prompt, same with org locale.
Did you find a way to fix the issue with the standard setup?