M
Matt Rich
I'm creating a backup routine for a database. Due to the need for 24/7
access, the best I can do at the moment is to use FILECOPY. Here's the
problem: I have a requirement to serialize by the date and time of the
backup. Here's what I have:
DFile = "\\serverloc\application\Backups\SEbak_" & _
Format(Now(), "dd") & "-" & Format(Now(), "mm") & "-" & _
Format(Now(), "yy") & "_" & Format(Now(), "hh") & _
Format(Now(), "???") & Format(Now(), "ss") & ".mdb"
The question marks indicate the problem area. "min" returns the month
number, the letter "i", and something or the other else. How do I return the
minutes portion of a datetime value?
access, the best I can do at the moment is to use FILECOPY. Here's the
problem: I have a requirement to serialize by the date and time of the
backup. Here's what I have:
DFile = "\\serverloc\application\Backups\SEbak_" & _
Format(Now(), "dd") & "-" & Format(Now(), "mm") & "-" & _
Format(Now(), "yy") & "_" & Format(Now(), "hh") & _
Format(Now(), "???") & Format(Now(), "ss") & ".mdb"
The question marks indicate the problem area. "min" returns the month
number, the letter "i", and something or the other else. How do I return the
minutes portion of a datetime value?