Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Date according to culture

$
0
0

I have a date binded in a asp.net repeater control.  <h5><%# Eval("PublishedDate") %></h5>

 I have two culture that's it english and arabic

currently I am getting this [29/04/35 07:00:00 م] date in arabic but i want's following [5 يناير 2014] format

and in english I am getting [3/1/2014 7:00:00 PM]   but i want's following format [January 5, 2014]

I know i have to post in asp.net forum but don't know why i am not able to login as clicking signin page redirecting to unavailable page at the moment


Kamran Shahid Application Developer (MCP,MCAD,MCSD.NET,MCTS,MCPD.net[web])


Viewing all articles
Browse latest Browse all 31927

Trending Articles