Skip to main content

Hi,

I am trying to format the Date and Time a comment was made by using the Expression.

An exemple of the result shows up as "1/23/2019  12:18" on the subsequent K2 forms but display normally as "1/23/2019   12:18" on the SharePoint list. I suspect the issue is with how K2/HTML return the formatting of the colon between the hour and minutes.

My expression formula is: 

Concatenate ( Display Name,  - , Format Date and Time ( Current Date and Time, M/d/yyyy H:m ) , Url Decode ( %0a ) , Notes Text Area, Url Decode ( %0a ) , Url Decode ( %0a ) , Notes)

Am I doing anything wrong? Of course, I don't know much about the URL Decode and Encode.

Any help will be greatly appreciated.

Alex

Did you try the expression without the UrlDecode?  I'm not clear on its purpose in this context.  Are you trying to add a line break <br> tag?


Reply