
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfdatpic()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfDatPic()
Produces a Datestring like in Excel
------------------------------------------------------------------------------
Syntax:
dfDatPic( <cPic>, [<dDate>], [<cTime>] ) --> cDate
Parameters:
<cPic> Picture for format the date
<dDate> Data to use
<cTime> Time to use
Returns:
<cDate> The formatted date
Description:
Produces a Datestring like in Excel
Example:
local dStart, i
set alternate to dfdatpic.log
set alternate on
set date german
dStart := ctod("01.01.95")
for i := 0 to 365
? dfdatpic("D. MMMM YYYY",dStart+i)
next
for i := 0 to 365
? dfdatpic("DDDD, the D. MMMM YYYY",dStart+i)
next
for i := 0 to 365
? dfdatpic("hh:mm:ss DDDD, the D. MMMM YYYY",;
dStart+i,time())
next
set alternate off
See also:
dfDate()
See Also: dfDate()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson