The RndDate function can be used to generate a random date within a given range of a start date like so: nDate := RndDate(20130604, 60); However this can return any day of the week. The attached project shows the additional logic required to ensure only a business day is returned (assuming Monday to Friday as business days). The output is as follows: Download the zip file and rename the extension to .ltz and the project will open in Silk Performer. (Please visit the site to view this file)
↧