Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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