|
-
Oct 22nd, 2003, 10:53 AM
#1
Thread Starter
Addicted Member
convert date to a number with vb.net
how can i convert date to a number with vb.net
example in vb6:
Private Sub Form_Load()
Text1.Text = Date
End Sub
Private Sub Command1_Click()
Dim num
num = Format(Text1.Text, "0")
Text2.Text = num
End Sub
thanking you in advance
From:
[email protected]
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
|