ooOOOoo... thanks CDRIVE!

I copied the code somewhere from the internet. I'm afraid it will not going to work if i remove 'Time$', that's why i still use it. Thanks for your explaination. i really appreciate that.


ps: the way it's declared was like in PHP, huh?

Quote Originally Posted by CDRIVE
The Time Statement returns the current time as a Variant Date. The '$' is another way of declaring a variable as String. I would think be adding the dollar sign ($) as Time$ you would be telling VB to format Time as a String but I don't know why you would want to do that. Possibly so you can easily work with it as a String with any further code. Guessing??

Code:
Debug.Print TypeName(Time$)             ' return data type