Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 5.94 KB

File metadata and controls

31 lines (21 loc) · 5.94 KB

datetime()

datetime() has two purposes.

First, it may indicate that a value must be a {self.name} to be valid. To do this, it must be an argument to a line() and have a header argument.

Alternatively, it may generate a date from a string. Generally, {self.name}() recognizes {self.name}s without needing a format string.

Data signatures
datetime( date: $${\color{green}None}$$ ǁ $${\color{green}datetime}$$ ǁ $${\color{green}date}$$ )
datetime( date string: $${\color{green}None}$$ ǁ $${\color{green}str}$$, [format: $${\color{green}str}$$] )
Call signatures
datetime( date: Header ǁ Variable ǁ Function ǁ Reference )
datetime( date string: Term ǁ Header ǁ Variable ǁ Function ǁ Reference, [format: Term ǁ Header ǁ Function ǁ Variable ǁ Reference] )
Purpose Value
Main focus datetime() produces a calculated value and decides matches
Type Datetime is a line() schema type
Context Qualifier
Match qualifiers onmatch, notnone, strict, distinct
Value qualifiers onmatch, notnone

[Back to index]