DOCUMENTATION CENTER SEARCH
Mathematica
>
File Operations
>
Built-in
Mathematica
Symbol
Manipulating Files and Directories
Tutorials »
|
FileDate
DateString
DateList
See Also »
|
File Operations
More About »
SetFileDate
SetFileDate
["
file
"]
sets the modification date for a file to be the current date.
MORE INFORMATION
SetFileDate
["
file
",
date
]
sets the modification date to be the specified date.
The date must be given in the
{
year
,
month
,
day
,
hour
,
minute
,
second
}
format used by
DateList
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Copy a file:
In[1]:=
In[2]:=
Out[2]=
The date and time at which a file was last modified:
In[3]:=
Out[3]=
SetFileDate
modifies the date of the file to be the current date:
In[4]:=
Check:
In[5]:=
Out[5]=
Set a specific date:
In[6]:=
In[7]:=
Out[7]=
Delete the temporary file:
In[8]:=
SEE ALSO
FileDate
DateString
DateList
TUTORIALS
Manipulating Files and Directories
MORE ABOUT
File Operations
New in 2
© 2008 Wolfram Research, Inc.