Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to set timezone for iran in laravel

1 ) go to config/app.php
2 ) 'timezone' => 'Asia/Tehran',
3 ) php artisan config:cache
4 ) php artisan cache:clear
Comment

PREVIOUS NEXT
Code Example
Php :: php mysql count rows 
Php :: full url php 
Php :: eloquent run seeder 
Php :: php get everything after last slash 
Php :: Where is the php.ini file on a Linux/CentOS 
Php :: start server in laravel 
Php :: php uppercase each word 
Php :: php get day from date 
Php :: codeigniter get where 
Php :: curl error handling 
Php :: what php can do 
Php :: hwo to limit char in php 
Php :: string to slug php 
Php :: get acf repeater field 
Php :: laravel convert timestamp to date 
Php :: array merge laravel 
Php :: display errors in codeigniter 
Php :: laravel where is null 
Php :: php artisan ui auth 
Php :: laravel env production 
Php :: force https redirection laravel 
Php :: get last inserted id in php 
Php :: php ping time 
Php :: php add string inside string at position 
Php :: symfony get current datetime 
Php :: get site url with protocol in php 
Php :: alert in php 
Php :: docx file validation laravel 8 
Php :: php implode as key value of object 
Php :: sum multiple fields separately in laravel 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =