在ListView中格式化日期 [英] Format Date in ListView

查看:116
本文介绍了在ListView中格式化日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我想在列表视图列中格式化日期.

我想看一下1月8日星期二的日期.
目前读为8/1/2011

这是代码.

Hello,

I would like to format a date in a list view column.

I would like the date to read Tue 8 Jan.
At the moment it reads 8/1/2011

Here is the code.

<%# Eval("DateFrom" , "{0: dd/MM/yyyy}" ) %>



如果可以的话请帮忙.

干杯

AC



Please help if you can.

Cheers

AC

推荐答案

请参阅以下链接,这可能对您有帮助
此处 [
See the below link, this may helps you
Here[^]


这篇关于在ListView中格式化日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆