diff --git a/briar-android/build.gradle b/briar-android/build.gradle
index 839eab3ef5c777f910da852d0c80314e17944cef..39bbe4c898b237a01c21ce1cc5c567754420296b 100644
--- a/briar-android/build.gradle
+++ b/briar-android/build.gradle
@@ -245,8 +245,9 @@ android {
 		resValue "string", "app_name", "Briar"
 		buildConfigField "String", "GitHash",
 				"\"${getStdout(['git', 'rev-parse', '--short=7', 'HEAD'], 'No commit hash')}\""
+		def now = (long) (System.currentTimeMillis() / 1000)
 		buildConfigField "Long", "BuildTimestamp",
-				"${getStdout(['git', 'log', '-n', '1', '--format=%ct'], 0)}000L"
+				"${getStdout(['git', 'log', '-n', '1', '--format=%ct'], now)}000L"
 	}
 
 	buildTypes {