TradingView Pine Script Help

See I have a query , in the daily time frame of of any charts , what I want to do is, I want to set a custom time frame by which I mean , instead of setting it from 00 hrs to 11 59 hrs.
I want to set it from say suppose 2:30 AM to next day 2:30 AM.

Could some one help ?

You can add color to it using bgcolor


Took help of Chat GPT ; I have zero knowledge

Still shows the same ( in my case from 5:30 AM - 5:30 AM )

I want it for 5:30 PM - 5:30 PM
Pls guide

Thanks

May be I did not frame my question properly

Let me clarify

Cryptos trade 24*7 ; Its day starts at 5:30 AM IST
So evidently , 1D candle shows - > 5:30 AM - 5:29 AM (+1) IST

I want to change 1D candle so that it shows → 5:30 PM - 5:30 PM (+1) IST

Is it possible by any means @Abhijit

Use 24 hour clock and the function that I gave.

t = time(timeframe.period, "0530-1730)