PHP Classes

File: src/test/tz-select.php

Recommend this page to a friend!
  Classes of ASCOOS CMS   PHP Timezone Select List   src/test/tz-select.php   Download  
File: src/test/tz-select.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Timezone Select List
Show a form input to let the user pick a timezone
Author: By
Last change:
Date: 9 months ago
Size: 918 bytes


Class file image Download

$objTZ = new \ASCOOS\CMS\KERNEL\CORE\Timezones\TTimezonesHandler();

$params = [

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>ASCOOS - Test timezones select box</title>
    <link rel="icon" href="../favicon.ico" />

        <label for="timezones">Choose a PHP Timezone:</label>
= microtime(true);
$objTZ->getHtmlSelect('timezones', $params);
$profile_ascoos = number_format(microtime(true) - $start, 25);
      <p>The list of timezones was created in : <?php echo $profile_ascoos; unset($profile_ascoos); ?></p>