Cosmicnoodle
Registered User.
- Local time
- Today, 15:13
- Joined
- Jun 14, 2005
- Messages
- 33
Is there any way to format the result when using Now() in VBA
Private Sub cmd_Today_Click()
tbo_DateTo = Now()
End Sub
I am using the above code to put todays date into a textbox on a form, but it gives me the format dd/mm/yyyy hh:mm:ss. I simply want dd/mm/yyyy.
Private Sub cmd_Today_Click()
tbo_DateTo = Now()
End Sub
I am using the above code to put todays date into a textbox on a form, but it gives me the format dd/mm/yyyy hh:mm:ss. I simply want dd/mm/yyyy.