[REBOL] Re: filename
From: john:thousand-hills at: 19-Aug-2001 20:11
Tim, Luis:
Thanks.. Here is the whole code that assigns a epoch date, shortens it and
names a unique file on the fly.
I can specify a file name with the word " filename " and a matching
Purchase Order Number with the word " name "...
Code:
fn-epoch: func [ip-date [date!]]
[
lv-days: ip-date/date - 01-Jan-1970
return (lv-days * 86400) + (ip-date/time/hour * 3600) +
(ip-date/time/minute * 60) + ip- date/time/second
]
number: fn-epoch now
name: number - 998100000
filename: to-file rejoin[name ".html"]
End code:
Now, if I can only get Outlook to read it as an HTML file to the screen..
John
At 09:52 PM 8/19/2001 -0300, you wrote: