Hi DatetimePicker control
-
Hi All, I am using two Datetimepicker controls. one is Licence strat date and another one is Licence End date..But Licence start date is Current date default today date and Licence End date will add 1 day plus 2 years. for example Thus for Licence Start date 01/02/2008 the date will be End Date 31/01/2010...So how to do in C# Windows Application...So please reply..... Regards Somasundaram
I want to join in the website
-
Hi All, I am using two Datetimepicker controls. one is Licence strat date and another one is Licence End date..But Licence start date is Current date default today date and Licence End date will add 1 day plus 2 years. for example Thus for Licence Start date 01/02/2008 the date will be End Date 31/01/2010...So how to do in C# Windows Application...So please reply..... Regards Somasundaram
I want to join in the website
What do you want to do, set a default value ? Why are you setting the end date if it's a fixed interval ? Set the Value of the picker to set it's value.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
What do you want to do, set a default value ? Why are you setting the end date if it's a fixed interval ? Set the Value of the picker to set it's value.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
No... when i select the Start date and Automatically End date will add 2 years plus 1 day...So how to do?????? For example i give a start Date default date(whatever Date)is 12/05/2008 and End date will add 13/05/2010...automatically End Date will add 2years plus 1 day... :omg: Regards Somasundaram gunasekaran
-
No... when i select the Start date and Automatically End date will add 2 years plus 1 day...So how to do?????? For example i give a start Date default date(whatever Date)is 12/05/2008 and End date will add 13/05/2010...automatically End Date will add 2years plus 1 day... :omg: Regards Somasundaram gunasekaran
just try this....
DataTime Dt;
try to use these methods.......Dt.AddYear() Dt.AddDay()
Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"
-
just try this....
DataTime Dt;
try to use these methods.......Dt.AddYear() Dt.AddDay()
Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"
Please i need some examples of Datetimepicker control Source code... pls reply... Regards Somasundaram
I want to join in the website