uTools-Manuals/docs/php/timezone_version_get.html
2019-04-28 19:00:34 +08:00

69 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Gets the version of the timezonedb</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.timezone-version-get" class="refentry">
<div class="refnamediv">
<h1 class="refname">timezone_version_get</h1>
<p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">timezone_version_get</span> &mdash; <span class="dc-title">
Gets the version of the timezonedb
</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.timezone-version-get-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>timezone_version_get</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">string</span></div>
<p class="para rdfs-comment">
Returns the current version of the timezonedb.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.timezone-version-get-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns a <span class="type"><a href="language.types.string.html" class="type string">string</a></span>.
</p>
</div>
<div class="refsect1 examples" id="refsect1-function.timezone-version-get-examples">
<h3 class="title">范例</h3>
<p class="para">
<div class="example" id="example-2739">
<p><strong>Example #1 Getting the timezonedb version</strong></p>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">timezone_version_get</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
<div class="example-contents"><p>以上例程的输出类似于:</p></div>
<div class="example-contents screen">
<div class="cdata"><pre>
2009.7
</pre></div>
</div>
</div>
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.timezone-version-get-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><a href="timezones.html" class="link">List of Supported Timezones</a></li>
</ul>
</p>
</div>
</div></div></div></body></html>