|
-
Nov 27th, 2008, 10:56 AM
#4
Thread Starter
New Member
Re: HH:mm to minutes problem.
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?
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|