*metadata_date()
Creates date metadata in HMASCII format.
Syntax
*metadata_date (entity_type,entity_id,"name",value)
Type
HyperMesh HMASCII
Description
Creates date metadata in HMASCII format.
Inputs
- entity_type
- An integer indicating the type of entity the metadata is attached to. A value of undef indicates attachment to the database itself.
- entity_id
- The ID of the entity the metadata is attached to. Ignored if entity_type is undef.
- name
- The name by which the metadata will be referenced.
- value
- The date value assigned to the metadata. This is the number of seconds since the epoch (i.e., January 1st 00:00:00 1970).
Example
To create data metadata attached to element ID 100, with name "my-date" and the date as January 1st 00:00:00 2011:
*metadata_date(2,100,"my-date",1293858000)
Errors
Incorrect usage results in an import error.