Comments on: Date and Timestamp in Spark SQL https://blogs.perficient.com/2024/02/27/date-and-timestamp-in-spark-sql/ Expert Digital Insights Fri, 05 Jul 2024 05:58:26 +0000 hourly 1 By: Aarthii Gurunathan https://blogs.perficient.com/2024/02/27/date-and-timestamp-in-spark-sql/#comment-154931 Fri, 05 Jul 2024 05:58:26 +0000 https://blogs.perficient.com/?p=357574#comment-154931 In reply to BART.

You can use the function “from_utc_timestamp(CAST(timestamp AS TIMESTAMP), ‘Europe/Paris’) AS cest_timestamp”
This will convert from UTC to CEST.

]]>
By: BART https://blogs.perficient.com/2024/02/27/date-and-timestamp-in-spark-sql/#comment-154915 Thu, 04 Jul 2024 08:45:22 +0000 https://blogs.perficient.com/?p=357574#comment-154915 Hello

Do you know how to set diffrent time zone to be default one for CURRENT_TIMESTAMP or TIMESTAMP ‘now’.
No it seesm is in UTS comparing to my local time and i want to be in local or CEST.

]]>