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.size - Function Up: os - Tool Previous: os.filetime - Function


os.filetimestring - Function



Package utility
Module misc
Tool os


return the file time string


Synopsis
filetimestring(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 local time.
By default it follows a symbolic link.



Example
  dos.filetimestring ('~/aips++/test/hol.ms')
# 04-Apr-2000/12:43:27



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.size - Function Up: os - Tool Previous: os.filetime - 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