@Martin Kallukalam Thanks for reaching out please refer the below policy snippet
<inbound>
<set-variable name="starttime" value="@(DateTime.UtcNow.ToString("r"))" />
<set-header name="Policy-Execution-TimeStamp" exists-action="append">
<value>@((string)context.Variables["starttime"])</value>
</set-header>
</inbound>
hope this helps! do let me know incase of further queries, I would be happy to assist you.