Question
1
Replies
742
Views
Posted: April 29, 2020
Last activity: April 29, 2020
Solved
Get Current Date time in expression
Hello, I want to get pending business action - 04/29/2020 from expression builder.
I have used " pending business action" +"-" @datetime.getcurrentdatestamp(MMDDYYYY) but its wrong.
Can you correct me this expression
***Edited by Moderator Marissa to update Platform Capability tags****
You need to use formatdatetime function to format it as MM/dd/yyyy
Please use @FormatDateTime(@CurrentDateTime(),"MM/dd/yyyy","America/NewYork","en_US") from expression builder and in the data transform you can use as :
" pending business action" +"-" + @FormatDateTime(@CurrentDateTime(),"MM/dd/yyyy","America/NewYork","en_US")