"Alok yadav" <> wrote in message
news:EC53F040-5837-4595-8627-...
> i want it in dd/MM/yyyy as 31/10/2006. but the result should be in
> datetime
> data type.
??? This makes no sense whatsoever! The DateTime variable will always hold
its value internally the same way - no amount of formatting or culture
manipulation will change that!
> if i use datetime.tostring("dd/MM/yyyy") then it returns strinng type
> date.
Well of course it does! That's what .ToString() means...
> but i want the return type be datetime object not string/
So leave it alone!