MajP
You've got your good things, and you've got mine.
- Local time
- Today, 13:22
- Joined
- May 21, 2018
- Messages
- 9,025
Code:
'PURPOSE:
' Convert the date to ISO 8601 International date format as expected by Access. Needed when building a SQL string with literal
Public Function ToAccessDate(ByVal dt As Date) As String
ToAccessDate = Format(dt, "yyyy-mm-dd hh:nn:ss")
End Function