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
travis.hurst
NA
13
0
Date Formatting
Sep 30 2004 11:22 AM
I am new to C# and am having trouble saving dates to my oracle database due to the format. Is their an easy way to save these dates? ========== DateTime dteToday = System.DateTime.Now; string dteExipryDate = dteToday.AddDays(30).ToString("dd-MMM-yyyy HH:mm:ss"); string dteNotifyDate = dteToday.AddDays(27).ToString("dd-MMM-yyyy HH:mm:ss"); //Save the changed password to the Db string SQL = "UPDATE vec_user " + "SET pac_password = '" + pPassword + "'," + "passexpiredate = '" + dteExipryDate + "'," + "passnotifydate = '" + dteNotifyDate + "' " + "WHERE usercode = '" + pUserCode + "'";
Reply
Answers (
0
)
sending an object trough named pipes
Excel Automation question