Date format: Difference between revisions
no edit summary
m (Added comment explaining Index/Value of timelist() function) |
No edit summary |
||
Line 3,593:
<lang vedit>RI(1) IT(", ") RI(2) IT(" ") NI(#1, LEFT+NOCR) IT(",") NI(#3)</lang>
=={{header|Vlang}}==
<lang vlang>import time
fn main() {
println(time.now().custom_format("YYYY-MM-DD"))
println(time.now().custom_format("dddd, MMMM D, YYYY"))
}</lang>
{{out}}
<pre>
2011-12-02
Friday, December 2, 2011
</pre>
=={{header|Wren}}==
|