> Anyone written a script to convert unix timestamps (is 950618412) to > a usable rebol date and time format. > > Cheers > > Francois > > > And to do it the other way around, i.e. generate an Epoch date: REBOL[ ] date: now seconds: ((date - 1-1-1970) * 86400) + (date/time/hour * 3600) + (date/time/minute * 60) + date/time/second zone: now/zone zone: zone/hour zone: zone * 3600 seconds: seconds - zone ; minus a minus gives plus print seconds ; Epoch date
