Hi
try
DateTime dt = DateTime.ParseExact("03/06/2007","MM/dd/yyyy",null);
dt.Month
dt.Year
dt.Day
Adlai
---------------------------------
If my answer helped you please press "Yes" bellow
Adlai Maschiach
http://blogs.microsoft.co.il/blogs/adlaim/
[quoted text, click to view] "ajash.pv@gmail.com" wrote:
> i want to split date as date ,month, year, from the input like
> value of textbox1.text="03/06/2007"
>
> i want it like
>
> 03(month)
>
> 06(day)
>
> 2007(year)
>
> separately, and want to store each value in different integer
> variables
>
> plz send coding....
>