meenakshi_joshi09
April 26th, 2006, 06:20 AM
Hi,
In my application I want to get the data of yesterday, can anyone tell me how can I get yesterday's date.
I am trying to decrement current date by 1, but it's giving me error of
type-casting.
"Invalid cast from DateTime to Int32."
In my application I want to get the data of yesterday, can anyone tell me how can I get yesterday's date.
I am trying to decrement current date by 1, but it's giving me error of
type-casting.
"Invalid cast from DateTime to Int32."