Retention Policy of prometheus

Hi,

I am new to Prometheus, and I am unable to understand that for how long Prometheus is capable to store data in its TSDB. Here I am attaching the Current TSDB Head Status of My Prometheus Server that shows the oldest datapoint in my Prometheus server is 2024-12-31T02:00:02Z old but my server is up since 15 dec 2024 and I used a command (./prometheus --config.file=prometheus.yml --storage.tsdb.retention.time=30d) which means it should store at least past 30 days data.

Please help me understand how this works and what am I missing.

Current TSDB Head Status of My Prometheus Server

Name Count
Number of Series 15723
Number of Chunks 28589
Number of Label Pairs 9960
Current Min Time 2024-12-31T02:00:02Z
Current Max Time 2024-12-31T03:03:17Z