Build number weirdness

We have our build numbers customized as such:

MSA.OD.$Server.Now.Format(“yyyymmdd”)$.$Build.BuildNumber$

Which to my mind should produce something like “MSA.OD.20200505.105” for today’s date (May 5). But this is what it’s been generating:

MSA.OD.20204605.105
MSA.OD.20204304.104
MSA.OD.20205127.103

These don’t make sense.

Hi Andy,

Continua CI uses dotnet date and time formatting strings, so mm represents the minute (from 00 through to 50). Use upper case MM to represent the month, from 01 through 12.

e.g. $Server.Now.Format("yyyyMMdd")$