Hi
Maybe can be optimized
;----
ahora: now
hms: parse to-string ahora/time ":"
seconds-from: (ahora - make date! [1 1 1970]) * 86400 + ((to-integer hms/1)
* 3600) + ((to-integer hms/2) * 60) + (to-integer hms/3)
;----
regards
At 04:57 p.m. 28/10/99 -0400, you wrote:
>
>In Perl <*shudder*> and Unix, you can use the number of seconds from the
>Epoch (January 1, 1970) in programs. How can I do this in Rebol; i.e. get
>the number of seconds from the Epoch?
>
>--Ralph
>
>
>
>
>
--
Lourdes Yero
e-mail: [EMAIL PROTECTED]
e-mail: [EMAIL PROTECTED]
e-mail: [EMAIL PROTECTED]
e-mail: [EMAIL PROTECTED]
web site: http://www.geocities.com/RainForest/4672/
Caracas, VENEZUELA