--- a/lib/cli/build.rs
+++ b/lib/cli/build.rs
@@ -21,7 +21,7 @@ pub fn main() {
         println!("cargo:rustc-env=WASMER_BUILD_GIT_HASH_SHORT=???????");
     }
 
-    let utc: DateTime<Utc> = Utc::now();
+    let utc: DateTime<Utc> = DateTime::from_timestamp(0, 0).unwrap();
     let date = utc.format("%Y-%m-%d").to_string();
     println!("cargo:rustc-env=WASMER_BUILD_DATE={date}");
 }
