See System.Posix.Files.

http://hackage.haskell.org/packages/archive/unix/2.3.0.0/doc/html/System-Posix-Files.html#v%3AmodificationTime

I think this is what you want.

On Thu, Aug 14, 2008 at 12:14 PM, A Smith <asmith9983@gmail.com> wrote:
Hi
I'm new to Haskell, so correct me if this is the wrong list or the
wrong question.
I'm looking for a function similar to the Perl stat  to provide me
with the last modify time of a file.
I've been poring over source code entries referencing hfileSize but
can't find the specific bit which reads the directory entry, so I
could copy the code.
Any advice would be welcome.
--
Andrew in Edinburgh,Scotland
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



--
/jve