报告rdlc中的当前日期格式 [英] current date format in report rdlc
本文介绍了报告rdlc中的当前日期格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用此表达式使用rdlc报告在文本框中显示当前日期。
= CDate(今天())。ToString(MM / dd / yyyy )
输出为:07-01-2014
但我需要'7月01,2014 'formate。
获取此输出的表达式是什么'7月01,2014'
iam using this expression to display the current date in textbox using rdlc report.
=CDate(Today()).ToString("MM/dd/yyyy")
output is : 07-01-2014
but i need 'july 01,2014' formate.
what is the expression for getting this output 'july 01,2014'
推荐答案
= CDate(Today())。ToString(MMM dd,yyyy)
=CDate(Today()).ToString("MMM dd,yyyy")
你好,
参考:试试这个链接
谢谢
Hello ,
Refer : Try this link
thanks
试试这个
Try This
=formatdatetime(today)
以及fomat
and also with fomat
=format(CDate(today), "dd MMM yyyy")
这篇关于报告rdlc中的当前日期格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文