Name

string:try-parse-date

Usage

builtin-function

Syntax

(string:try-parse-date str &key format culture)

Description

Converts a string to a DateTime.

user 1 > (.try-parse-date "20130104" :format "yyyyMMdd")
it: "2013-04-01"
user 2 > (.try-parse-date "20139904" :format "yyyyMMdd")
it: null