Quote:
Originally Posted by Thirukumar
Hi,
Help me to solve this problem
I have declared a variable as Date
=>dim dt as Date
=>dt=Now
=>Textbox1.Text=dt
Here i will get the Date value as Current Date with Time
=>dt=nothing
here i have dispose the variable.
=>TextBox2.Text=dt
but still Time is Remain.. 12:00:00 AM
|
00:00:00 is the default format of a variable that you declare as "date", so if it hasn't been set, or you empty it, this is what you'll get.