Type:Date

From semanticweb.org

Jump to: navigation, search
Image:Redirectltr.png

The documentation formerly on this page has moved to Semantic-MediaWiki.org
Please do not make any changes or additions to this page.
You can read the official version of Type:Date there.
Use the discussion page here or the mailing list if the documentation is unclear.

Semantic MediaWiki logo

Local notes on ontoworld.org:

[edit] Date Issues

Internally it uses the PHP strtotime function to parse the date. It does not use your date/time preferences in MediaWiki.

Timezone is accepted but not remembered, locale-specific date formats (e.g. mm/dd/yy versus dd/mm/yy) are ambiguous and their parsing may depend on PHP settings.

See improving date type.

[edit] Date ranges

In SMW 0.5, the range is only from 1901-12-14 to 2038-1-19. This limitation comes from PHP (the timestamp is a 32-bit signed number).


This type is among the standard datatypes of this wiki.

Personal tools