From: <Msc...@ao...> - 2003-01-07 23:59:16
|
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 |