Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
Convert datetime2 to string(“dd/MM/yyyy”)
siva nagarjuna
8y
427
1
Reply
i have a datetime2 column in the database.I'm trying to fetch that from database and
I want to display it in the view as string.
i tried: dt.ToString("dd/MM/yyyy");
But it gave an error.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
mongodb database
How to change the username & password of cpanel phpmyadmin