how to timestamp your build

this cookie is going to show you how to dynamically timestamp your build using the version property of your profile. thanks to rhino, your profile is ‘live’ javascript so simply update the version like this:

version: "1.3.2." + (+(new Date()))

this will stamp your version with the Date when your build is run. make sure you include the extra “.” before you append the Date.

then, inside your application, you can get the Date back like so:

var stamp = new Date(parseInt(dojo.version.flag))