From 9d397b2724162eeaa2c2e4c5d6660b070e8d4a43 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Tue, 5 Nov 2024 11:18:26 -0500 Subject: [PATCH] Fix time calc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16cc1fd7..5f5e2bd1 100644 --- a/README.md +++ b/README.md @@ -626,7 +626,7 @@ epoch. The request returns events that occurred after the specified timestamp Query query = fql("Product.all().eventsOn(.price, .stock)"); // Calculate the timestamp for 10 minutes ago in microseconds. -long tenMinutesAgo = System.currentTimeMillis() * 1000 - (10 * 60 * 1000); +long tenMinutesAgo = System.currentTimeMillis() * 1000 - (10 * 60 * 1000 * 1000); FeedOptions options = FeedOptions.builder() .startTs(tenMinutesAgo)