STR_TO_JODATIME

Parses a string into a datetime using Joda-Time format patterns.

Analyze Syntax

func.str_to_jodatime(<str>, <pattern>)

Analyze Examples

func.str_to_jodatime('2024/06/15', 'yyyy/MM/dd')

┌──────────────┐
 '2024-06-15'  
└──────────────┘

SQL Syntax

STR_TO_JODATIME(<str>, <pattern>)

SQL Examples

SELECT STR_TO_JODATIME('2024/06/15', 'yyyy/MM/dd');

┌────────────┐
 2024-06-15  
└────────────┘