المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : getting a date format



C# Programming
09-06-2009, 12:40 PM
i have a problem in comparing two dates

string x = textbox1.text

where textbox1.text is in the format of "dd MMMM yy"

i when i'm trying to parse that text to date error message appearse telling me that it's not valid

what i need is to compare this date to another date from another textbox

what should i do?

thanks in advance