PDA

View Full Version : Current date minus some number of days


k_shehadeh
11-19-2008, 07:54 AM
I'm trying to use the Copy Files action to move files from a folder to a backup location when those files are dated to be ([today's date] - [1 month]). What's the best way to accomplish that?

kinook
11-19-2008, 08:07 AM
31

in the 'Maximum modification date' field on the Attributes tab, or

[DateAdd("m", -1, Now)]

in the 'Minimum modification date' field.

http://www.kinook.com/VisBuildPro/Manual/copyfilesactionattrtab.htm

k_shehadeh
11-19-2008, 08:09 AM
Thanks!