> While we're on the subject of optimization, how about this?
>
> now - 1-1-1970 * 86400
>
Elegant, except it's one day off ... should be now - 12-31-1969 * 86400,
except that gives an invalid date.
So, you could do:
now - 1-1-1970 * 86400 + {{+ 86400 - however many seconds of this day has
elapsed}} to get the correct time? }} yes, that works manually... now all
have I have to do is figure the rest of the code in Rebol.
--Ralph
- [REBOL] epoch? Re:(2) bo
- [REBOL] HTML Parsing in REBOL xmldiva
- [REBOL] Re: epoch? Re:(2) ralph
- [REBOL] Re: epoch? Re:(2) ejolson
- [REBOL] Re: epoch? Re:(2) dm98411
