<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>timezone Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/timezone/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/timezone/</link>
	<description>Code Solution</description>
	<lastBuildDate>Fri, 06 Dec 2024 15:53:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>timezone Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/timezone/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Set Indian Timezone in Laravel</title>
		<link>https://codeplaners.com/set-indian-timezone-in-laravel/</link>
					<comments>https://codeplaners.com/set-indian-timezone-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 06 Dec 2024 15:53:58 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Laravel 10]]></category>
		<category><![CDATA[Laravel 8]]></category>
		<category><![CDATA[Laravel 9]]></category>
		<category><![CDATA[Laravel 11]]></category>
		<category><![CDATA[timezone]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=1740</guid>

					<description><![CDATA[<p>Hi Dev, In this post, I will show you how to set Indian time zone in Laravel By default, Laravel uses UTC time zone. We can set it for India or any other country. Here we are showing you how to set Indian time zone. Let&#8217;s set the Indian time zone to `Asia/Kolkata`. We can &#8230; <a href="https://codeplaners.com/set-indian-timezone-in-laravel/" class="more-link">Continue reading<span class="screen-reader-text"> "Set Indian Timezone in Laravel"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/set-indian-timezone-in-laravel/">Set Indian Timezone in Laravel</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Dev,</p>
<p>In this post, I will show you how to set Indian time zone in Laravel</p>
<p>By default, Laravel uses UTC time zone. We can set it for India or any other country. Here we are showing you how to set Indian time zone. Let&#8217;s set the Indian time zone to `Asia/Kolkata`. We can apply this time zone in two ways:</p>
<h3 class="step_code">Step 1: Update timezone .env file</h3>
<p>.env</p>
<pre class="brush: php; title: ; notranslate">
APP_TIMEZONE=&quot;Asia/Kolkata&quot;
</pre>
<h3 class="step_code">Step 2: Update timezone config file</h3>
<pre class="brush: php; title: ; notranslate">
'timezone' =&gt; 'Asia/Kolkata',
</pre>
<p>You can find out if the time zone is set correctly by following route code</p>
<pre class="brush: php; title: ; notranslate">
Route::get('/', function () {
    dd(now());
});
</pre>
<p><strong>I hope it will assist you…</strong></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/set-indian-timezone-in-laravel/">Set Indian Timezone in Laravel</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/set-indian-timezone-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
