mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-29 04:52:50 +08:00
68 lines
2.3 KiB
HTML
68 lines
2.3 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>转变Julian Day计数为一个Unix时间戳</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.jdtounix" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">jdtounix</h1>
|
||
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">jdtounix</span> — <span class="dc-title">转变Julian Day计数为一个Unix时间戳</span></p>
|
||
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.jdtounix-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>jdtounix</strong></span>
|
||
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$jday</code></span>
|
||
) : <span class="type">int</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
这个函数根据给定的julian天数返回一个Unix时间戳,或如果参数<code class="parameter">jday</code>不在Unix时间(Gregorian历法的1970年至2037年,或2440588 <= <code class="parameter">jday</code> <= 2465342)范围内返回 <strong><code>FALSE</code></strong> 。返回的时间是本地时间(不是GMT)。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 parameters" id="refsect1-function.jdtounix-parameters">
|
||
<h3 class="title">参数</h3>
|
||
<p class="para">
|
||
<dl>
|
||
|
||
|
||
<dt>
|
||
<code class="parameter">jday</code></dt>
|
||
|
||
<dd>
|
||
|
||
<p class="para">
|
||
一个在 2440588 到 2465342 之间的julian天数
|
||
</p>
|
||
</dd>
|
||
|
||
|
||
</dl>
|
||
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 returnvalues" id="refsect1-function.jdtounix-returnvalues">
|
||
<h3 class="title">返回值</h3>
|
||
<p class="para">
|
||
指定的julian天数的开始时的时间戳。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 seealso" id="refsect1-function.jdtounix-seealso">
|
||
<h3 class="title">参见</h3>
|
||
<p class="para">
|
||
<ul class="simplelist">
|
||
<li class="member"><span class="function"><a href="unixtojd.html" class="function" rel="rdfs-seeAlso">unixtojd()</a> - 转变Unix时间戳为Julian Day计数</span></li>
|
||
</ul>
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |