The input are the days of the beginning and end of the period, then obtain the change of zsl of this period, that is the difference between the first day and last day's data. Also, the result provides the days of the period for each code.
1 | zslPeriodDiff(day1, day2, ch, scale = 0, period = 30L)
|
day1 |
the start of the period, Date object of like "YYYY-MM-DD" |
day2 |
the end of the period, Date object of like "YYYY-MM-DD" |
ch |
RODBC connection object |
scale |
the scale of the change, default is 0, that's meaning it does not work, see the details of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.