|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
is there a way to truncate the value so all i recieve is the date. I do not want the date and time.
Rob |
|
#2
|
||||
|
||||
|
If you field in the database is date/time, it will always append the time to the date.
If you only want the date, change the data type of the field to Text (Access) or varchar (MSSQL). |
|
#3
|
|||
|
|||
|
Dim dte As String * 10
MsgBox "Admit date is: " & dtpAdmDate.Value dte = dtpAdmDate.Value MsgBox "Admit date is really: " & dte this was being used before but if the date was 1/1/2004 it would add a digit to the left becasue the time is on the 10th position |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > dtpicker field |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|