How to automatically generate a timestamp upon every build and use the timestamp in code.