title: How to use formatDateTime in Azure Data Factory?
body: <p>I would like to format the pipeline trigger time in this format:</p>
  <pre><code>10-Mar-2021 08:31:59 AM
  </code></pre>
  <p>Here is the code I am using:</p>
  <pre><code>@formatDateTime(pipeline().TriggerTime, 'DD-MON-YYYY HH:MI:SS AM/PM')
  </code></pre>
  <p>However the date is coming out in this format:</p>
  <pre><code>'DD-3ON-YYYY 08:3I:SS A3/P3'
  </code></pre>
  <p>Can anyone please help me out in resolving this?</p>