# Variable length in range vector

Hi, I am trying to obtain a Prometheus range vector from a specified timestamp, let’s say `1670000000`. I figure out how to obtain the current number of passed milliseconds in PromQL, which is

``````time() - 1670000000 # let's say this results in 10000 ms, or 10 seconds
``````

Now instead of calling my range vector like this `my_vector[10000ms]` I want it to be dynamic, something like this `my_vector[time() - 1670000000]` but this is invalid syntax. Can anyone help me with this issue? Thanks!