6 Timestamp::__construct -
9 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <meta http-equiv=
"Content-Location" content=
"/v0.0/ion/Timestamp/__construct">
12 <link rel=
"stylesheet" href=
"index.css">
14 <link href=
"https://fonts.googleapis.com/css?family=Inconsolata&subset=latin-ext" rel=
"stylesheet">
15 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
16 <link rel=
"shortcut icon" href=
"/v0.0/favicon.ico">
24 <a href=
"./ion/Timestamp/__construct">Edit
</a>
29 <li>↰ <a href=
"./">Home
</a>
34 ↑ <a href=
"./ion">
40 ↑ <a href=
"./ion/Timestamp">
46 ↻ <strong><a href=
"./ion/Timestamp/__construct">Timestamp::__construct
</a></strong>
52 <li>↲ <a href=
"./ion/Timestamp/Format">Format
</a></li>
54 <li>↲ <a href=
"./ion/Timestamp/Precision">Precision
</a></li>
64 <meta charset=
"utf-8"><h1>
65 <a class=
"permalink" href=
"ion/Timestamp/__construct#">#
</a><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void
</a></code> <a href=
"ion/Timestamp/__construct">ion\Timestamp::__construct
</a>(
<a href=
"ion/Timestamp/Precision">ion\Timestamp\Precision
</a>|
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$precision
</span>, [
<a href=
"ion/Timestamp/Format">ion\Timestamp\Format
</a>|
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code>|
<code><a href=
"https://php.net/manual/en/language.types.null">null
</a></code> <span class=
"var">$format
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>, [?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var">$datetime
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>, [?
<code><a href=
"https://php.net/manual/en/class.datetimezone">DateTimeZone
</a></code> <span class=
"var">$timezone
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>]]])
</h1><p>Create a new ION timestamp.
</p><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Timestamp/__construct#Params:">#
</a>
68 <a href=
"ion/Timestamp/Precision">ion\Timestamp\Precision
</a>|
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$precision">$precision
<a class=
"permalink" href=
"ion/Timestamp/__construct#%24precision">#
</a></span><br>
69 The timestamp's precision. See
<a href=
"ion/Timestamp/Precision">ion\Timestamp\Precision
</a>.
</li>
70 <li>Optional
<a href=
"ion/Timestamp/Format">ion\Timestamp\Format
</a>|
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code>|
<code><a href=
"https://php.net/manual/en/language.types.null">null
</a></code> <span class=
"var" id=
"$format">$format
<a class=
"permalink" href=
"ion/Timestamp/__construct#%24format">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
71 The timestamp's format. See
<a href=
"ion/Timestamp/Format">ion\Timestamp\Format
</a>.
</li>
72 <li>Optional ?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var" id=
"$datetime">$datetime
<a class=
"permalink" href=
"ion/Timestamp/__construct#%24datetime">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
73 The timestamp's value.
</li>
74 <li>Optional ?
<code><a href=
"https://php.net/manual/en/class.datetimezone">DateTimeZone
</a></code> <span class=
"var" id=
"$timezone">$timezone
<a class=
"permalink" href=
"ion/Timestamp/__construct#%24timezone">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
75 The timestamp's timezone.
</li>
77 <div id=
"disqus_thread"><button id=
"disqus_activator">Show
<span> </span> Comment(s)
</button></div>
79 var disqus_shortname = 'mdref';
80 var disqus_identifier = 'ion/Timestamp/__construct';
86 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
88 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
95 <script src=
"index.js"></script>