Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: os.filetimestring - Function Up: os - Tool Previous: os.filetype - Function


os.filetime - Function



Package utility
Module misc
Tool os


return the file time


Synopsis
filetime(pathname, whichtime, follow)


Description
Return for each file the time the file was last accessed (1), modified (2), or its status changed (3). Default is 2 (time modified).
The time returned is the Modified Julian Date (as UTC).
By default it follows a symbolic link.



Example
  dos.filetime ('~/aips++/test/hol.ms')
# 51638.4



Arguments

pathname in path name
    Allowed: vector of strings
    Default: '.'
whichtime in which time to return
    Allowed: integer
    Default: 2
follow in follow symlink?
    Allowed: bool
    Default: T


Returns
vector of doubles or fail




next up previous contents index
Next: os.filetimestring - Function Up: os - Tool Previous: os.filetype - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15