Difference between revisions of "Timestamp field"

From EPrints Documentation
Jump to: navigation, search
(Added timestamp field)
 
m
Line 29: Line 29:
 
== Database ==
 
== Database ==
  
Int fields are stored in the database as
+
Timestamp fields are stored in the database as
  
 
  fieldname_year SMALLINT(6)
 
  fieldname_year SMALLINT(6)

Revision as of 00:44, 15 February 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Metadata Fields: Arclanguage - Base64 - Bigint - Boolean - Compound - Counter - Dataobjref - Date - Decimal - Email - Fields - Float - Id - Idci - Image - Int - Itemref - Keywords - Langid - Longtext - Longtext_counter - Multilang - Multipart - Name - Namedset - Pagerange - Recaptcha - Recaptcha3 - Relation - Search - Secret - Set - Storable - Subject - Subobject - Text - Time - Timestamp - Url - Uuid

Inheritance

Description

Properties

name default description
min_resolution second This property is taken from the repository configuration.
render_res second This property is taken from the repository configuration.
render_style long This property is taken from the repository configuration.

Required Phrases

Database

Timestamp fields are stored in the database as

fieldname_year SMALLINT(6)
fieldname_month SMALLINT(6)
fieldname_daye SMALLINT(6)
fieldname_hour SMALLINT(6)
fieldname_minute SMALLINT(6)
fieldname_second SMALLINT(6)