Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to add only user start date in email body

sk
Regular Contributor
Regular Contributor

Hi Team,

Can someone please help to add only user startdate in mail body when we use this biding variable. ${users.startdate}

Currently it was printing date along with time.

Thanks,

Sai Krishna

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

${users.startdate.format("yyyy MM dd")}

 

https://forums.saviynt.com/t5/identity-governance/printing-current-date-in-email/m-p/12449#M3894


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

SumathiSomala
All-Star
All-Star

@sk try below

${users.startdate.format("yyyy-MM-dd")}

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

sk
Regular Contributor
Regular Contributor

@rushikeshvartak / @SumathiSomala 

Tried with binding variables the above which was shared but I don't see any mail was triggering when we use those.

<b>Email Address and Office365 Logon:</b>${user?.username}<br>
<b>Working location:</b> ${user?.locationdesc}<br>
<b>Start Date:</b> ${users.startdate.format("yyyy MM dd")} or ${users.startdate.format("yyyy-MM-dd")}

Its user and not users


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.