make_with_text

make_with_text(a_text) copy to clipboard

Make a XDate instance from a text.

Parameters
Result

XDate instance

Example
tell script "XDate"
make_with("2018/1/5 7:08")
-- exivalent to make_with_data(date "2018/1/5 7:08")
end tell