Reputation: 599
Currently I am using below code to get March 06
. What do I do to get 06 March
?
Text='<%# Bind("ToDate","{0:m}")%>'
Upvotes: 0
Views: 277
Reputation: 9416
see http://msdn.microsoft.com/en-us/library/hzz3aycd(v=vs.71).aspx
Upvotes: 0
Reputation: 134811
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.
Upvotes: 1