After thinking about it a little, I think I know why--it's not platform
independent (epochs differ on different platforms). No pid, no
hostname, no time()--java surely does not subscribe to the "easy things
should be easy" philosphy.
Msc...@ao... wrote:
> In a message dated 1/7/03 3:12:12 PM Pacific Standard Time,
> ke...@go... writes:
>
>> Hey, am I missing something, or is there no way to log the current
>> seconds-in-the-epoch (time()) without writing a custom cspec? It's not
>> part of the java SimpleDateFormat.
>
>
>
> Hmm, strange, doesn't look like there is. There's %r for the number of
> seconds since program start (in PatternLayout), and all sorts of stuff
> in SimpleDateFormat, but no unix time. It'd be easy to implement, but
> since we've got custom specs, we're all set :).
>
> -- Mike
--
Happy Trails . . .
Kevin M. Goess
(and Anne and Frank)
904 Carmel Ave.
Albany, CA 94706
(510) 525-5217
|