hfsitumo2001
Member
- Local time
- Today, 14:39
- Joined
- Jan 17, 2021
- Messages
- 394
I want to include the hours and minute and second of the day we backup in the file name. I tried to put like this but syntax error can anyone help me what is the good format?
Target = Path & "\EVSbkupDB_" & Format(Now(), "mm-dd-yyyy-hh-nn-ss") & ".accdb"
Target = Path & "\EVSbkupDB_" & Format(Now(), "mm-dd-yyyy-hh-nn-ss") & ".accdb"