If you're Struggling with taking a build date in android in Release time. Here is the solution for the please check this.