thanks guys, stat looks like it, have to work out how to strip all those strange zeros though: 2002-12-20 04:08:37.000000000 +0000 2002-12-20 04:08:37.000000000 +0000 what are those zeros after the seconds?
bascule On Thursday 19 Dec 2002 4:57 pm, [EMAIL PROTECTED] wrote: > On Thu, 19 Dec 2002, bascule wrote: > > is there a way to obtain the time and date of a file without having to > > parse the ls command output? > > You can try using the stat(2) call. Just make the call then print only > the information that you require. -- 'I'll see you all tomorrow. If there is one.' (Men at Arms)
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
