muhammadriyas
Times in osTicket simply depend on the server timezone, database timezone, PHP time zone, system timezone, and agent/user profile time zone. If times are not reflecting correctly then one of the timezones are off.
Typically you’d want database time zone to be UTC so dates can easily be converted to other timezones. However, if your database time zone was set to something else then leave it as changing it now would make the issue worse (unless you manually convert all timestamps in all tables).
Cheers.