Increment logic ?

Jan 28, 2009 at 11:37 AM
Hi,
Can you explain your build Version number increment logic ?
         _startDate = new DateTime(1975, 10, 21);

        private string CreateBuildVersion()
        {
            TimeSpan ts = DateTime.Now.Subtract(_startDate);
            DateTime dt = DateTime.MinValue + ts;
            return string.Format("{0}{1:00}.{2:00}{3:00}", dt.Year * 12 + dt.Month, dt.Day, dt.Hour, dt.Minute);
        }
Franck
Coordinator
Feb 28, 2009 at 3:11 PM

Just something I copied from the original codeproject site :)

Current release allows you to specify different update schemes.