 |
sneha Level: Scholar
 Registered: 28-03-2006 Posts: 29
|
How to modify the code to change the date format?
Hi,
How can I modify the following code to use date format ?
Now the date format is like: 25/01/2006 (dd/mm/yyyy)
and
I would like to change it to :01/25/2006 (mm/dd/yyyy)
The code is as follows:
Private Sub cmdPaid_Click()
If lvwCollections.SelectedItem.Selected = True Then
db.Execute "Update Collections " _
& "Set Paid = '" & txtFill.Text & "' where DepositDate = #" & Trim(lvwCollections.SelectedItem.ListSubItems(1).Text) & "#" _
& " And FileNumber = '" & Trim(lvwCollections.SelectedItem.ListSubItems(5).Text) & "'"
lvwSales.Refresh
LoadListViews
End If
End Sub |
Regards,
Snehaasd
____________________________
Sneha
|
|
26-06-2006 at 05:02 PM |
|
|
|
|
 |
 |