TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sameer Khan
1.5k
272
39.5k
Using DataType Datetime how can i get the date format in dd/
Jun 6 2018 12:06 AM
Using DataType Datetime how can i get the date format in dd/MM/yyyy while running on the local server getting in dd/MM/yyyy for but after publish on the server getting in MM/dd/yyyy format
I have tried
Without using DateTime.Now.ToString(), instead any variable
1. Convert.ToDateTime(TodayDate_Greater, System.Globalization.CultureInfo.GetCultureInfo("hi-IN").DateTimeFormat);
2. DateTime.ParseExact(TodayDate, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture);
Reply
Answers (
4
)
Displaying null value to gridview from database
how to use angularjs in asp.mvc by developing employee table