Automated build & build date label

Hello, I am messing around with automated builds. I would like to have a build arg or env var of the build date for a label. Seems like a typical thing to so I must be missing something. Anyone point me in the right direction?

Thanks