User profile fields: Timestamp input

Maintained by Picture of Jordi Pujol-AhullóJordi Pujol-Ahulló, Picture of Daniel Tome FernandezDaniel Tome Fernandez, Picture of Cristian MartinezCristian Martinez
A user profile field type that shows a timestamp both as human readable and unix time format.

Timestamp input 1.0 (Build: 2013101800)

Release notes

Timestamp Profile Field

A user profile field type that shows a timestamp both as human readable and unix time format, with the form:

> divendres, 18 octubre 2013, 11:38 (1382089086)

That is, {default site, human readable date + time format} ({unix timestamp number})

Why this plugin

If you synchronize/set user fields to know the time of an important issue/event related to the user, this field type shows you the timestamp both in human readable and numeric (unix timestamp value).

We found that as really useful for administrators, either technical or not.

From a technical viewpoint, it is better to store the unix timestamp, but show it human readable. In forensic cases, the unix timestamp value is really useful for technicians.


It works like the text field, but showing the value in both formats:

  • Human readable
  • Unix timestamp

However, only the unix timestamp value is stored. If it is allowed to be changed/updated, a date/time selector is shown in the form.


As usual:

  • Download the source code (zip or git clone).
  • Uncompress to user/profile/field/timestamp.
  • Go to Notifications


It is released as GPL v3.

Authors: * Jordi Pujol-Ahulló

Copyright 2013 onwards Servei de Recursos Educatius (

Moodle 2.4

Version information

Version build number
Version release name
1.0 (Build: 2013101800)
Stable version
MD5 Sum
Supported software
PHP 5.4, Moodle 2.4
  • This is the latest release for Moodle 2.4

Version control information

Version control system (VCS)
VCS repository URL
VCS branch

Default installation instructions for plugins of the type User profile fields

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myfield") in the "user/profile/field" subdirectory.
  4. Visit to finish the installation