make_with_date

make_with_date(a_date) copy to clipboard

Make a XDate instance from a date object.

Parameters
Result

XDate instance

Example
tell script "XDate"
make_with(current date)
make_with(date "2018年1月5日金曜日 7:08:00")
end tell