Temporal Types and Literals
Summary
U-SQL’s built-in temporal types are:
DateTime DateTime?
The grammar rules use Temporal_Type
to refer to one of these types.
U-SQL’s temporal types do not have a built-in literal form, but require the standard C# construction mechanisms such as DateTime.Parse() or new DateTime(). Note that these constructions with simple string and number parameters are constant folded (executed at compile time) and thus are similar to a built-in literal.
See Also
- Simple Built-In U-SQL Types
- Data Types and Literals (U-SQL)
- [Date & Time](../../../operators/csharp-functions-and-operators.md#Date & Time)