Search
 
SCRIPT & CODE EXAMPLE
 

PHP

west african timezone in php

<?php 
  //Specific to Nigeria
  date_default_timezone_set('Africa/Lagos');
	echo date('H:m:s');

//for Nairobi
  date_default_timezone_set('Africa/Nairobi');
	echo date('H:m:s');
Comment

php, Africa timezones

Africa/Nairobi
Comment

PREVIOUS NEXT
Code Example
Php :: clear file contents php 
Php :: php color echo 
Php :: Load order by entity_id magento 2 
Php :: php read xml file into array 
Php :: phpstan ignore 
Php :: laravel validation integer 
Php :: laravel route list only api 
Php :: pakistan time zone 
Php :: show php info 
Php :: php sum array elements 
Php :: laravel redirect back with input 
Php :: getting values from url php 
Php :: laravel pluralization text 
Php :: laravel route fallback 
Php :: php current datettime us time zone 
Php :: check image exist or not in laravel 
Php :: extract all arrays from sql response in php 
Php :: how to fetch all defined constant in php 
Php :: header cross origin using php only for our domains and subdomain 
Php :: import session laravel 
Php :: laravel gigapay create employee 
Php :: créer projet laravel 
Php :: get country from ip php 
Php :: display summernonte data with string limit laravel 
Php :: php header excel utf-8 
Php :: types of looping directives in laravel 
Php :: php Error!: could not find driver 
Php :: allow extension image chrome, firefox 
Php :: php redirect after specific seconds 
Php :: get specific key value from array php 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =