snipt

Ctrl+h for KB shortcuts

PHP

Prendere nome mese dal numero

1
2
3
<?php
$nav_title = date("F", mktime(0, 0, 0, $mese, 10));
?>
https://snipt.net/embed/ebe88182ca9a70b904dc524b409f56c7/
/raw/ebe88182ca9a70b904dc524b409f56c7/
ebe88182ca9a70b904dc524b409f56c7
php
PHP
3
2019-07-12T07:50:16
True
False
False
Mar 25, 2013 at 05:26 PM
/api/public/snipt/58259/
prendere-nome-mese-dal-numero
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="nv">$nav_title</span> <span class="o">=</span> <span class="nb">date</span><span class="p">(</span><span class="s2">&quot;F&quot;</span><span class="p">,</span> <span class="nb">mktime</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">$mese</span><span class="p">,</span> <span class="mi">10</span><span class="p">));</span> </span><span id="L-3"><a name="L-3"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
date, format, php