parse::dateTime
dateTime(input: String, format: String)
| Parameter | Type | Description |
|---|---|---|
| input | String | A string representation of a date and time value. |
| format | String | The format of the given input string. |
Returns
(DateTime)
Example
elk
parse::dateTime("2024-08-23 23:56", "yyyy-MM-dd HH:mm")parse::dateTime("2024-08-23 23:56", "yyyy-MM-dd HH:mm")