<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Timezone on seth-shi</title><link>https://sethix.com/tags/timezone/</link><description>Recent content in Timezone on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 15 Nov 2018 17:15:54 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/timezone/index.xml" rel="self" type="application/rss+xml"/><item><title>Converting UTC Time to Local Time</title><link>https://sethix.com/posts/2018111517/</link><pubDate>Thu, 15 Nov 2018 17:15:54 +0800</pubDate><guid>https://sethix.com/posts/2018111517/</guid><description>When working with UTC time formats that need conversion to local time (e.g., UTC+8), here&amp;rsquo;s a breakdown of the process for the input format yyyy-MM-ddTHH:mm:ss.SSSZ:
yyyy: 4-digit year MM: 2-digit month (01-12) dd: 2-digit day (01-31) T: Date/time separator HH: 24-hour format hour (00-23) mm: Minutes (00-59) ss: Seconds (00-59) SSS: Milliseconds (3 digits) Z: Timezone offset (e.g., +0100 for UTC+1) Example Conversion:
Input: 2018-01-01T12:00:00.000+0100 (UTC+1)
Local Output (UTC+8): 2018-01-01 19:00:00.</description></item></channel></rss>