Skip to content

Commit

Permalink
Fix time calc
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Nov 5, 2024
1 parent 9a2f84b commit 9d397b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d397b2

Please sign in to comment.