Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Generate a random date which ensures a business day is returned.

$
0
0
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)

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>