I am looking for a way to find the moving average for customers over a 30 day period. I am new to the concept of moving averages so I started with a Google search and found a lot of good information. However I was not able to find any sample VB code to help get me started. I did find this C# sample on Code Project but my attempts at conversion have not been successfull.

Does anybody have an existing VB class they would like to share or do you know of a sample that I could use to build my own?