Currently I am using below code to get March 06
. What do I do to get 06 March
?
Text='<%# Bind("ToDate","{0:m}")%>'
Either use a custom format string or use a different locale. If I'm reading the code right, here's a format string to give you the right string:
Text='<%# Bind("ToDate", "{0:dd MMMM}") %>'
I'm not sure how you'd use a different locale however. Someone else might have the answer to that.
Text='<%# Bind("ToDate","{0:dd MMM}")%>'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.