Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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');
 
PREVIOUS NEXT
Tagged: #west #african #timezone #php
ADD COMMENT
Topic
Name
7+4 =