| Home
| Previous
| Next
| Up

PM_setFileTime

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

Declaration

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

Prototype In

pmapi.h

Parameters

filename | Full path to filename for file to set date and time for
gmTime | True if time should be in the GMT timezone
time | Time to set for the file

Return Value

True on success, false on failure.

Description

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

See Also

PM_getFileTime

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