Create CalculateStringPeriod.js