Date format: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
Added code for FreeBASIC
Line 814:
2008-12-14
Sunday, December 14, 2008
 
=={{header|FreeBASIC}}==
<lang freebasic>' FB 1.05.0 Win64
 
#Include "vbcompat.bi"
 
Dim d As Long = Now
Print "This example was created on : "; Format(d, "yyyy-mm-dd")
Print "In other words on : "; Format(d, "dddd, mmmm d, yyyy")
Print
Print "Press any key to quit the program"
Sleep</lang>
 
{{out}}
<pre>
This example was created on : 2016-10-02
In other words on : Sunday, October 2, 2016
</pre>
 
=={{header|Frink}}==