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
Sheethal R A
NA
11
67.9k
Formatting DateTime type , C#
Nov 19 2010 12:02 AM
i have a value of DateTime type.
i want to convert it to the below format.
TO_DATE('2010-11-18 16:45:55','YYYY-MM-DD HH24:MI:SS')
i am using,
DateTime dt1 = Convert.ToDateTime(fromDateTime).ToString("YYYY-MM-DD HH24:MI:SS");
its giving error tellin "Cannot implicitly convert type 'string' to 'System.DateTime'"
please help
Sheethal
Reply
Answers (
2
)
How to cancel with button?
Process.start(msinfo32) arguments problem