Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
LibraryTools[Timestamp] - display or modify timestamp of a library
Calling Sequence
Timestamp( archive, timestamp )
Parameters
archive
-
string; Maple library or directory containing Maple libraries
timestamp
(optional) integer; timestamp of the library
Description
The Timestamp( archive, timestamp) calling sequence returns the timestamp of the Maple libraries specified by archive. The timestamp is the time when the library was created.
If archive is a directory, the timestamps of all Maple libraries in that directory are returned; otherwise, if archive is a file that is a Maple library (has extension .lib or .mla, see repository), then just the timestamp of that library is returned. An error is raised if the archive does not exist or has the wrong extension.
Timestamp returns a list of lists. Each sublist is the result of a single Maple library. The first item in a sublist is a string corresponding to the path to that library. The second item is a list corresponding to the timestamp of that library. The elements of the list are non-negative integers giving, in order, the year (four digits), month (1..12), day (1..31), hour (0..23) minute (0..59), and second (0..59).
The optional argument timestamp is used to apply a new timestamp to an archive, provided it is writable. The argument timestamp is a non-negative integer: zero specifies the current time, a positive value specifies the number of seconds since the epoch. When timestamp is not given, the timestamp of the library is returned but remains unchanged.
Examples
See Also
LibraryTools, LibraryTools[Create], LibraryTools[Priority], LibraryTools[WriteMode], march
Download Help Document