-1

I have a perl method that is using Time::tm values and I'd like to compare a file time. Using File::stat to get the file ctime (ctime(stat($file)->mtime)) returns a scalar value that is a human-readable format. Is there a way to return or convert this to a Time::tm format?

McArthey
  • 1,614
  • 30
  • 62

1 Answers1

0

use the member function:

time_t CTime::GetTime( ) const; // Returns a time_t value for the given CTime object.

example

Billy_Bob
  • 85
  • 7