Start Date changes when part of a Notification Email RRS feed

  • Question

  • I enter the date on a User edit RCDC form in the Portal. Using the default OOB user edit form.

    The hint tells me to enter the date as d.MM.yyyy so I have entered 1.7.2016 0:00:00

    When I send an Email notiification the value in [//Target/EmployeeStartDate] is shown as 2016-06-30 21:00

    What is happening here?

    Wednesday, June 15, 2016 2:39 PM

All replies

  • FIM/MIM stores dates as UTC (Zulu) time internally. When you access the attribute  [//Target/EmployeeStartDate] without formatting it, you will get the UTC formatted time. 

    It looks as if you're 3 hours from UTC time in your timezone.

    You can solve this by using a C# Code activity or Powershell activity to convert the date to Local Time (and storing it in WorkflowData) before sending the notification.

    Did my post help? Please use "Vote As Helpful", "Mark as answer" or "Propose as answer". Thank you!

    Thursday, June 16, 2016 11:14 AM