|
-
Aug 28th, 2001, 05:43 PM
#1
Thread Starter
Lively Member
Problems with date
When my page displays the text box contains a string date format. ex: 0/0/1
I want it to display the date that is displayed on the dtpicker control..
I tried this DateBox.value = dtpicker1.value
Actually here is my code:
Sub Window_Onload
on error resume next
Form1.DateBox.value = empty
window.settimeout "Init", 5, vbscript
Form1.DateBox.value = cstr(form1.Dtpicker1.month) & "/" & cstr(form1.dtpicker1.day) & "/" & cstr(form1.dtpicker1.year)
end sub
sub Init
form1.dtpicker1.value = now
end sub
-
Aug 29th, 2001, 02:52 AM
#2
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
|