PM_getFileTime

Function to get the file time and date for a specific file.

Declaration

ibool PMAPI PM_getFileTime(
const char *filename,
ibool gmTime,
PM_time *time)

Prototype In

pmapi.h

Parameters

filename | Full path to filename for file to get date and time from
gmTime | True if time should be in the GMT timezone
time | Place to store the file time for the file

Return Value

True on success, false on failure.

Description

This function is used to obtain the file date and time stamp for a specific file. If the gmTime parameter is true, the time is returned in the GMT time zone, otherwise it is in the local machine time zone.

See Also

PM_setFileTime

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com