Date time format in list view

  • 8 February 2016
  • 4 replies
  • 2 views

Userlevel 3
Badge +9

Hi,

 

How Can I show a datetime in list view created by column like 02/22/2016 09:20 AM?

k2 has limited datae tiem formats available also did not find anything in custom.

 


12667i46AF848F51A3ED13.png

4 replies

Userlevel 5
Badge +16

Hi,

 

Try to use Format Date and Time expression :

 

https://help.k2.com/onlinehelp/k2smartforms/userguide/1.0.5/webframe.html#sf_-_calcexpression_-_operators_-_date_and_time.html

 

Here is the format you need:

 

13451iD07F8D8AB8400FB7.png

Userlevel 3
Badge +9

Thanks for your response.

 

It's not allowing me to drage the date field, plese find attachment.

It gives an error - 'To avoid circular references, this element is not available for use in this expression'


14639iFFE0E7CB0BC4BD3B.png
Userlevel 5
Badge +16

Hi,

 

Yes it's true, because the property is used as a field on the column. 

 

you can add another column and set data label control then set the expression on it.

 

OR

 

set the field property of the column to None and make sure that the style is None

Userlevel 3
Badge +9

Thtat did the trick. Thanks!

Reply