simple_date_format

The simple_date_format method creates a Java SimpleDateFormat from a date-time string.

Note

This method is intended for use in Python code when a SimpleDateFormat is needed. It should not be used directly in query strings.

The function is commonly used to create a SimpleDateFormat in Python, which is then used in query strings.

Syntax

Returns

A SimpleDateFormat.

Example