Your Moodle version

User profile fields: Timestamp input

profilefield_timestamp
Maintained by Picture of Jordi Pujol-Ahulló Jordi Pujol-Ahulló
A user profile field type that shows a timestamp both as human readable and unix time format.

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.

Behaviour

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.

Installation

As usual:

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

License

It is released as GPL v3.

Authors:

Copyright 2013 onwards Servei de Recursos Educatius (http://www.sre.urv.cat)

Screenshots

Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot

Contributors

Picture of Jordi Pujol-Ahulló
Jordi Pujol-Ahulló (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Tue, Dec 3, 2013, 3:04 PM
    Thanks Jordi. I very quickly installed this but didn't see the field, perhaps since i tried on moodle 2.6 .
  • Picture of Jordi Pujol-Ahulló
    Tue, Dec 3, 2013, 7:02 PM
    Weird. I'll check it asap.
  • Picture of Jordi Pujol-Ahulló
    Tue, Dec 3, 2013, 7:05 PM
    Thank you very much for having accepted it!!! Yeah!!!
  • Picture of Jordi Pujol-Ahulló
    Wed, Dec 4, 2013, 6:12 AM
    Updated with new screenshots and verified it works ok on M2.6.
Please login to post comments