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}$$] ) |
| Purpose |
Value |
| Main focus |
datetime() produces a calculated value and decides matches |
| Type |
Datetime is a line() schema type |
[Back to index]