Days between dates: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 2,089: Line 2,089:
<pre>18187</pre>
<pre>18187</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|go}}
{{trans|go}}
<syntaxhighlight lang="vlang">import time
<syntaxhighlight lang="v (vlang)">import time


fn days_between(d1 string, d2 string) ?int {
fn days_between(d1 string, d2 string) ?int {