1

I have one field start(API Name-starttime) at event standard object. i cannot create custom field on Event object due to salesforce constraints. I am using this [Event].starttime value in process builder for some variable . I am getting value as YYYY-MM-DDThh:mm:ssZ but i want to display as YYYY-MM-DD hh:mm AM/PM as indian standard time. I am basically sending SMS using third party app and in SMS i need to mention event starttime. I am unable to get in IST format. is there any way to convert like this.

1
  • 1
    Is there a way to manipulate dates in a process builder? If not maybe you can create a formula and manipulate it that way, then you would read from the forumla not the startime, you may have to get creative .. found this though help.salesforce.com/apex/…
    – EricSSH
    Commented Dec 5, 2016 at 17:28

1 Answer 1

2

One option would be to define an Invocable Method in Apex that converts the DateTime to the users preferred format. Then call that method from Process Builder.

See InvocableMethod Annotation and the DateTime format() methods.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .