in Spark sql "Spark SQL defines the timestamp type as
TIMESTAMP WITH SESSION TIME ZONE"
you can check your timezone settings. Sometimes in such a case can be more comfortable to store timestamp as Long.
Here is more info about timezones https://docs.databricks.com/spark/latest/dataframes-datasets/dates-timestamps.html
If you share example file and code I could help more.
My blog: https://databrickster.medium.com/